#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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] |
#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. |
#4
|
||||
|
||||
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] |
#5
|
|||
|
|||
Quote:
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 |
#6
|
|||
|
|||
Quote:
Quote:
|
#7
|
||||
|
||||
Quote:
Quote:
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] |
![]() |
Thread Tools | |
Display Modes | |
|
|