Unable to upload a file with FTPSWithdata - WeOnlyDo Discussion board

Unable to upload a file with FTPSWithdata (wodFtpDLX / wodFtpDLX.NET)

by Vlad, Thursday, May 04, 2006, 14:25 (6566 days ago)

Hi
I am unable to upload or download of file with FTPSwitchData. I have tested this with Blocking=false to view server replies. Below is the log of file upload operation:

Connected to the remote host
Successfully connected
Starting to upload file: D:2/test.chm to remote directory /
State changed from Connected to server - idle to Setting transfer mode
Executed command: TYPE I
Server reply: (200) Type set to I
State changed from Setting transfer mode to Changing current directory
Executed command: CWD //test.chm
Server reply: (550) //test.chm: Not a directory
Executed command: CWD /
Server reply: (250) CWD command successful
State changed from Changing current directory to Sending data to server
State changed from Sending data to server to Getting secondary data channel
Executed command: PASV
Server reply: (227) Entering Passive Mode (XXX,XX,XXX,XXX,XX,XX).
State changed from Getting secondary data channel to Sending data to server
Executed command: STOR test.chm
Server reply: (150) Opening BINARY mode data connection for test.chm

Upload operation is finished later with the exception Connection was closed by foreign host . A file with zero size is created in the remote directory.

Yet another observation I want to report. If I set blocking=true I am receiving this exception multiple times.
I am using ProFTPD server.


Complete thread: