Re: PutFile not finding local file - WeOnlyDo Discussion board

Re: PutFile not finding local file (General questions)

by woddrazen, Thursday, March 20, 2008, 23:56 (5885 days ago) @ doteffect

Hi,


Yes, ASP server and SFTP server is communicating. Unfortunately you can't upload file directly to SFTP server. You can try using PutFile Method instead. PutData Method stores data from string variable to remote file.

Why don't you try ASP sample that comes with wodFtpDLX installation. You can find it in component Samples folder (Samples\ASP\fetch.asp).

If you are uploading larger file, you should extend ASP server timeout.

Here is example:[code]
<
Server.ScriptTimeout = 1800
>
[/code]
Hope this helps.


Regards,
Drazen


Complete thread: