Re: newbie learn how to get file - WeOnlyDo Discussion board

Re: newbie learn how to get file (General questions)

by yipchunyu, Thursday, August 16, 2007, 05:43 (6310 days ago) @ yipchunyu

it seems the problem has been solved.
I added
Sftp1.Blocking = 1
and it now works fine.

Dear all,
I am now evaluating the wodSFTP.
I would like to make it as COM object and install it as application proxy (for calling from a web site).

The program is simple.
The APP server will just connect to the server and then SFTP the required file. Then it will transfer to the web server.

However, how can I make sure it is connected before I get the file?
I call the connect method and it needs sometime to be connected.

More, when the file size is big e.g. 2MB, it needs some times to get the file. How can I make sure the file is completely downloaded before I run other script?
Pls advice.


Complete thread: