Cannot upload file.. - WeOnlyDo Discussion board

Cannot upload file.. (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Emre, Thursday, March 16, 2006, 09:27 (6827 days ago)

Using wodFTPDlx.NEt upload&download sample for c# 2.0.. There is no problem during connection to a standard ftp server on port 21.

While trying to upload a file, Ftp1_DoneEvent is triggered immediately and Args.Error contains error code 230. The description message is empty (resembles ftp welcome messages). When the upload is called again, the Args.Error contains error code 200. The message is this time Type set to I . Similar ftp server messages are thrown in subsequent tries for file upload.

We are behind a proxy. The proxy settings are set as follows just before the upload command for test purposes:

[code]
Ftp1.ProxyHostname = 172.16.254.17 ;
Ftp1.ProxyPort = 8080;
Ftp1.ProxyType = WeOnlyDo.Net.Sockets.ProxyTypes.ProxyWEBStandard;
Ftp1.ProxyLogin = domainuser ;
Ftp1.ProxyPassword = password ;
[/code]

Then following is called:

[code]
Ftp1.LocalPath = @ C:UpdatePatch.log ;
Ftp1.RemotePath = /Garanti/old ;
Ftp1.PutFile();
[/code]


After couple of DONE messages and button clicks, the ARgs.Description contains:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Is this a proxy authentication error or something else?

What should be convenient method for using this component behind a proxy?

Thanks,
Emre


Complete thread: