Shell – FTP: Cannot connect using FileZilla on Windows – 503 Failure of data connection

filezillaftpiispowershellssh

I installed FTP Server Services on my IIS 8.5/Windows 7 workstation, and tried to FTP using FileZilla from my laptop (client – Windows 8). I tried to configure the Network Settings using Network Wizard on FileZilla, and here is the output. [I have masked the IP with 'x' on the output for privacy]

Connecting to probe.filezilla-project.org
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.9.0.5
Response: 230 logged on.
Checking for correct external IP address
IP xxx.xxx.xxx.xxx bdj-bac-bgd-ic
Response: 200 OK
PREP 50307
Response: 200 Using port 50307, data token 860523756
PORT 139,102,163,82,196,131
Response: 200 PORT command successful
LIST
Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent unexpected reply.
Connection closed

I also tried to FTP from the laptop using Windows PowerShell, I was able to connect but when I try to get file, I get the following error.

ftp> get file.jpg
200 PORT command successful.
125 Data connection already open; Transfer starting.
> .:No CSI structure available
550 Access is denied.
ftp: 131072 bytes received in 0.15Seconds 891.65Kbytes/sec.

Then I started an SSH session using PuTTY, and tried FTP to the same server & everything worked fine.

I want FTP to work from FileZilla on my laptop. What configuration setting may be missing?

Best Answer

it looks like you are using FTP active mode, which requires an additional port on client for data transfer. https://wiki.filezilla-project.org/Network_Configuration#Active_mode

you may try using passive mode instead or configure firewall on your client/network

Related Question