Page 1 of 1

Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-11-03 10:17
by projektilski
Hi all,
I have a strange problem. I can list folder from my FTP server with only Total Commanders built in FTP client. I can't list via browser of FileZilla client on the same PCs (multiple PCs on different networks).
I have opened ftp port 21 and custom port range for passive transfer (52000-53000) in my router and everything seems setup correctly. With Total Commander I can get to list folders in active and passive mode but not with other clients.

I tried to troubleshoot it my self so I compared logs when connecting via FileZilla client and via Total Commander and it seems that Total Commander uses TYPE A as transfer mode and other clients TYPE I. But I don't know why and if that is the problem and why

FileZilla:
Image

Total Commander:
Image

Re: Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-11-03 13:35
by botg
Total Commander is insecure, it does not use FTP over TLS by default.

Please refer to our Network Configuration guide for correct firewall and NAT router configuration. You can test your server on https://ftptest.net/

Re: Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-11-03 22:30
by projektilski
I tried to enable FTP over TLS in TC and it worked also. I also tried to disable FTP over TLS in FileZilla Server to see if FileZilla Client would connect but it would not.
I still don't understand why TC works and other programs don't.
Does this Type A vs Type I have anything to do with it? Why is that different in TC & FileZilla?

I did check Network Configuration page but it did not help.

Re: Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-11-04 00:09
by boco
If you check the logs, TC uses Active mode (PORT) and FileZilla uses Passive (PASV) mode by default. The server seems to be configured wrong (or butchered by a firewall) and Passive mode fails. For some reason, Active mode seems to work, and FileZilla should too if switched to Active.

The TYPE command is unrelated, it only sets Data Type.

Re: Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-12-15 14:47
by projektilski
Just to inform that I managed to get it all working. I'm ashamed to say that it was my stupid mistake. I did setup port forward for the required ports in router, however the rules are not automatically enabled. I had to tick enable checkbox which I missed completely.
Now everything works from all ftp clients in ftp and sftp mode both passive and active.
Thank you for trying to help.

Re: Strange 425 Can't open data connection for transfer of "/" when using IE or FileZilla but TC works

Posted: 2020-12-15 15:05
by boco
Making a mistake (and even admitting it) is not stupid at all. 8)

_____
Just making the same mistake again and again, without learning anything from it, is actually stupid.

Making the same mistake multiple times and expecting different results is insane. :lol: