Re: SSH & SCP (General questions)
Ok. The reason I asked is because it was not working for me.
New Ver - If I select the source as c:xxx.txt it will upload with blocking set to true on the line before.
New Ver - If I set the source as c:documents and settingsandrewmy documentsxxx.txt, it will not upload properly (just 1212 bytes received). I had done this originally and that's why i didn't think I was getting the updated component. After testing, a file from this location will only successfully upload with ssh1.Disconnect commented out (in SCPFileUpload).
I interpreted your previous post of it being safe to disconnect after the send EOF so long as blocking is set to true as meaning that I no longer needed to comment ssh1.Disconnect - and does seem to work in some instances.
Prev Ver - c:doucments and settinsandrewmmy documentsxxx.txt is a valid location and the file does upload (with sendeof & disconnect commented out). The only catch is that it says 'done' after 1212 bytes received but follows with 1213 & 1214 bytes received (after done). The same thing is happening with the newest version. ssh1.Disconnect executes before add.debug 'done'. If disconnect is commented out, bytes 1213 and/or 1214 are being recieved after SCPFileUpload is finished executing (add.debug done)- and these are neccessary for a successful file transfer. Forcibly disconnecting at the end of SCPUpload leaves those bytes out there.
Complete thread:
- SSH & SCP - Andrew, 2004-08-23, 23:36
- Re: SSH & SCP - wodSupport, 2004-08-24, 00:25
- Re: SSH & SCP - Andrew, 2004-08-24, 15:09
- Re: SSH & SCP - wodSupport, 2004-08-24, 15:42
- Re: SSH & SCP - wodSupport, 2004-08-25, 23:01
- Re: SSH & SCP - Andrew, 2004-08-26, 16:55
- Re: SSH & SCP - wodSupport, 2004-08-26, 17:10
- Re: SSH & SCP - wodSupport, 2004-08-27, 01:05
- Re: SSH & SCP - Andrew, 2004-08-30, 18:00
- Re: SSH & SCP - wodSupport, 2004-08-30, 20:52
- Re: SSH & SCP - Andrew, 2004-08-30, 22:33
- Re: SSH & SCP - wodSupport, 2004-08-30, 20:52
- Re: SSH & SCP - Andrew, 2004-08-30, 18:00
- Re: SSH & SCP - wodSupport, 2004-08-27, 01:05
- Re: SSH & SCP - wodSupport, 2004-08-26, 17:10
- Re: SSH & SCP - Andrew, 2004-08-26, 16:55
- Re: SSH & SCP - wodSupport, 2004-08-25, 23:01
- Re: SSH & SCP - wodSupport, 2004-08-24, 15:42
- Re: SSH & SCP - Andrew, 2004-08-24, 15:09
- Re: SSH & SCP - wodSupport, 2004-08-24, 00:25