|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi all,
I am trying to copy some large files from a 2000 box running Cygwin to another NT box running Cygwin (and SSHD) using SCP. I am running SCP in a loop for pushing all the files. The problem is, SOMETIMES, the SCP command stalls completely. I have to kill it to get the loop running again. Any ideas, why it is happening? Please help. |
|
#2
|
||||
|
||||
|
when transferring several files, I usually tar them into a single object with tar -zxvf ball.tar.gz file1 file2 file3.. and then just copy the single item over with scp and extract with tar -zxvf.
It might make things a bit simpler. christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#3
|
|||
|
|||
|
I had to switch to sftp to do it successfully. I generated a batch file using perl and used this batch file to push files to the server using sftp. This works great.
I think, as cygwin runs on NT, the NT does not let the port 22 go really quick. So, when scp requests ssh connection for transferring the next file, sometimes it finds the port still tied up with previous transaction.. and hence stalls. Am I thinking right? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > SCP stalls |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|