SCP Download Example not working - WeOnlyDo Discussion board

SCP Download Example not working (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Robert H., Thursday, February 02, 2006, 09:26 (6869 days ago)

Hi!!

Yesterday i had a problem with the wodSSH Upload Sequence, now this works fine for me. Today i will implement download in my project but your example do not work [:sad:]

Your example 5. Implementing scp hangs up when i try to download a file from a linux server.
It will hang on the first WaitFor command
[color=#009900]a = wodSSH1.WaitFor(Chr(10),) ' wait for full line[/color]
after sending NULL and set wodSSH1.Blocking=True.

I have checked the file what i want to download char by char to be sure there is a Line Feed , and found the char.

Now i think that wodSSH is the Problem, not the code.
Programing Language => Visual Basic 6 with SP6
Thanks for help.

Regards,
Robert

Re: SCP Download Example not working

by wodDrazen, Thursday, February 02, 2006, 10:19 (6869 days ago) @ Robert H.

Hello Robert,

We have one advice for you. Why don't you use wodSFTP instead?
I am sure OpenSSH supports it, will work much better, more reliable, and MUCH faster than SCP you're trying to implement.
I strongly suggest you try it!

You can find it here:
http://www.weonlydo.com/index.asp?showform=SFTP

Regards,
Drazen