Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2006, 05:55 AM
dsanches dsanches is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
SCP not closing connection

Hi guys,

this is my first post, I look around the forums and find a way to use scp commands to file transfer, everything fine until here, but when I transfer the file, the connection is not closing after the command end making a process alive and the my script keep waitng the end of command.
Reply With Quote
  #2  
Old 03-02-2006, 05:08 PM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
Hi dsanches,

Which VanDyke product are you using?

Could you provide a version and serial number, please?

Is using scp a requirement, or could you use a different secure file transfer program, such as one which uses the SFTP protocol?
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote
  #3  
Old 03-03-2006, 05:43 AM
dsanches dsanches is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Vshell 2.5 for Windows and Serial 51-25-000086.

I rolled back to Openssh server... I need use scp because all scripts from our oracle database use this and change to sftp will be a problem and in documentation I saw sftp dont make recursive copies.
Reply With Quote
  #4  
Old 03-03-2006, 08:11 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
Hi dsanches,

Thanks for providing the information we requested. VShell does not provide an scp client but will use one if you have scp installed and you've allowed remote execute in VShell (scp requires remote execute). I can understand why you would not want to change many scp calls recursively in your programs - it sounds very expensive!

Do you have scp on the same computer as VShell?

One alternative might be to use vcp instead of scp. Then you could use VShell and the SFTP protocol. The vcp program accepts many of the same arguments as scp. One of our customers created a batch file named scp.bat and it only called vcp.exe passing all of the arguments. The same concept would work with UNIX scripts.

Would be willing to try vcp and do you think it might work for you instead of scp?
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote
  #5  
Old 03-04-2006, 05:55 AM
jpv jpv is offline
Weekend Programmer and CEO
 
Join Date: Nov 2003
Location: VanDyke Software
Posts: 54
Quote:
Originally Posted by dsanches
Vshell 2.5 for Windows and Serial 51-25-000086.

I rolled back to Openssh server... I need use scp because all scripts from our oracle database use this and change to sftp will be a problem and in documentation I saw sftp dont make recursive copies.
I understand changing all the scp scripts to something else may be a problem, but I wanted to clarify one issue.

I think you are correct that OpenSSH's sftp client doesn't support recursive copies. However, some sftp clients do support recursive copying. For example, our vcp client (which uses the sftp protocol) does support recursive copies.

--Jeff
Reply With Quote
  #6  
Old 03-06-2006, 01:46 PM
dsanches dsanches is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Quote:
I understand changing all the scp scripts to something else may be a problem, but I wanted to clarify one issue.

I think you are correct that OpenSSH's sftp client doesn't support recursive copies. However, some sftp clients do support recursive copying. For example, our vcp client (which uses the sftp protocol) does support recursive copies.

--Jeff
Our problem is we are using shell scripts with default openssh client in Linux, so I think we donīt have such option, right?

Quote:
Hi dsanches,

Thanks for providing the information we requested. VShell does not provide an scp client but will use one if you have scp installed and you've allowed remote execute in VShell (scp requires remote execute). I can understand why you would not want to change many scp calls recursively in your programs - it sounds very expensive!

Do you have scp on the same computer as VShell?

One alternative might be to use vcp instead of scp. Then you could use VShell and the SFTP protocol. The vcp program accepts many of the same arguments as scp. One of our customers created a batch file named scp.bat and it only called vcp.exe passing all of the arguments. The same concept would work with UNIX scripts.

Would be willing to try vcp and do you think it might work for you instead of scp?
Maybe we can give a try, but how I can obtain vcp for unix?
Reply With Quote
  #7  
Old 03-07-2006, 10:44 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
Quote:
Our problem is we are using shell scripts with default openssh client in Linux, so I think we donīt have such option, right?
Although I'm not as familiar with the OpenSSH client as I am with our clients, I believe you're correct that you will not have the option to perform recursive copies with the OpenSSH client.

Quote:
Maybe we can give a try, but how I can obtain vcp for unix?
If you are interested in trying vcp, could you send e-mail to support@vandyke.com and refer to forum thread 1312?

We will create an account for you based on your e-mail address and provide the download information.

Also, in the e-mail message please let us know the flavor(s) and version(s) of Linux or Unix that you would want to run vcp on.
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:37 PM.