Not able to connect to ftp server with Port number - WeOnlyDo Discussion board

Not able to connect to ftp server with Port number (wodSFTP / wodSFTP.NET / wodSFTPdll)

by jessica, Monday, April 15, 2013, 08:51 (4001 days ago)

Hi,
It is OK when I use the wodFtpDLX component with port 21.
When I tried to assign another port number, it cannot connect.

I have listed the FileZilla commands which connected successfully.
Please help.
Thank you!

Status: Resolving address of xxx.xxx.com
Status: Connecting to xxx.xx.xx.xx:xxxxx...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: USER xxxxx
Response: 331 Please specify the password.
Command: PASS *****
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 /
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (xxx,xx,xx,xx,117,98).
Command: LIST
Response: 150 Here comes the directory listing.
Response: 226 Directory send OK.
Status: Directory listing successful

Re: Not able to connect to ftp server with Port nu

by Alan, Monday, April 15, 2013, 09:06 (4001 days ago) @ jessica

Jessica,

Please can you try with some of our samples which comes in installation package eg. 1. Simple.

Besides that you can check your code and look for Port Property, did you specify Port before calling Connect Method?

Alan