From: Seid Rudy Date: 2006-09-09T03:33:23+09:00 Subject: Re: calling scp from ruby Michal Suchanek wrote: > Try the -v switch to scp. Perhaps it will break even more but perhaps > it would do the same and show useful information. > > Thanks > > Michal hi i tried -v option and found out that scp is getting chopped @ byte 40960. Any clue how i can change the byte limit? debug1: Sending command: scp -v -r -t /var/local/rudyserv/wilcox/hr/_sql/ Entering directory: D0755 0 069999 Sending file modes: C0644 40960 069999.sql Sending file modes: C0644 0 069999.err Sending file modes: C0644 0 069999.tst debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 0 rudy@localhost $ ls -al ../sql/069999/069999.sql -rw-r--r-- 1 seid users 41455 Sep 9 03:18 ../sql/069999/069999.sql -- Posted via http://www.ruby-forum.com/.