Filezilla Server error "425 Can't open data connection for transfer"

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
nuffsaid
500 Command not understood
Posts: 1
Joined: 2021-06-17 08:39

Filezilla Server error "425 Can't open data connection for transfer"

#1 Post by nuffsaid » 2021-06-17 09:31

Hello

So firstly I can see that they are a lot of similar posts about the same errors but I think mine is a little bit different.

So here is my setup

Windows 10
Filezilla Server 0.9.60 beta
Passive ports: 49152 - 65534 behind NAT

ftptest.net works well everything logs in apart from the common errors (no IPV6 and custom port error)

So the issue is that I can connect okay from another Filezilla client and be able to store and list and delete the files but when I try to run my script online so I can automate my backups to the local computer I get an error where it's failing to store the file

Here is the log file from the connection the one that is failing to store the file

Where could I be going wrong on this one?

Code: Select all

000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> Connected on port 1980, sending welcome message...
(000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> 220-FileZilla Server 0.9.60 beta
(000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> 220 Welcome to le ftp server.
(000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> USER inslydata
(000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> 331 Password required for inslydata
(000017)2021/06/17 11:19:38 - (not logged in) (104.xx.xx.xx)> PASS **************
(000017)2021/06/17 11:19:38 - inslydata (104.xx.xx.xx)> 230 Logged on
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> PASV
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> 227 Entering Passive Mode (xx,xx,xx,xx,210,219)
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> PWD
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> 257 "/" is current directory.
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> CWD /
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> 250 CWD successful. "/" is current directory.
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> CWD /
(000017)2021/06/17 11:19:39 - inslydata (104.xx.xx.xx)> 250 CWD successful. "/" is current directory.
(000017)2021/06/17 11:19:40 - inslydata (104.xx.xx.xx)> disconnected.
(000018)2021/06/17 11:19:40 - (not logged in) (104.xx.xx.xx)> Connected on port 1980, sending welcome message...
(000018)2021/06/17 11:19:40 - (not logged in) (104.xx.xx.xx)> 220-FileZilla Server 0.9.60 beta
(000018)2021/06/17 11:19:40 - (not logged in) (104.xx.xx.xx)> 220 Welcome to le ftp server.
(000018)2021/06/17 11:19:41 - (not logged in) (104.xx.xx.xx)> USER inslydata
(000018)2021/06/17 11:19:41 - (not logged in) (104.xx.xx.xx)> 331 Password required for inslydata
(000018)2021/06/17 11:19:41 - (not logged in) (104.xx.xx.xx)> PASS **************
(000018)2021/06/17 11:19:41 - inslydata (104.xx.xx.xx)> 230 Logged on
(000018)2021/06/17 11:19:41 - inslydata (104.xx.xx.xx)> TYPE I
(000018)2021/06/17 11:19:41 - inslydata (104.xx.xx.xx)> 200 Type set to I
(000018)2021/06/17 11:19:42 - inslydata (104.xx.xx.xx)> CWD /
(000018)2021/06/17 11:19:42 - inslydata (104.xx.xx.xx)> 250 CWD successful. "/" is current directory.
(000018)2021/06/17 11:19:42 - inslydata (104.xx.xx.xx)> PASV
(000018)2021/06/17 11:19:42 - inslydata (104.xx.xx.xx)> 227 Entering Passive Mode (xx,xx,xx,xx,225,195)
[b](000018)2021/06/17 11:19:42 - inslydata (104.xx.xx.xx)> STOR 11639._USR_LOCAL_CPANEL_BIN_FTPPUT__.28a58c6f.tmp
(000018)2021/06/17 11:19:53 - inslydata (104.xx.xx.xx)> 425 Can't open data connection for transfer of "/11639._USR_LOCAL_CPANEL_BIN_FTPPUT__.28a58c6f.tmp"
(000018)2021/06/17 11:19:53 - inslydata (104.xx.xx.xx)> DELE 11639._USR_LOCAL_CPANEL_BIN_FTPPUT__.28a58c6f.tmp
(000018)2021/06/17 11:19:53 - inslydata (104.xx.xx.xx)> 550 File not found[/b]
(000018)2021/06/17 11:19:53 - inslydata (104.xx.xx.xx)> disconnected
And here is the log from the ftp test one

Code: Select all

(000019)2021/06/17 11:25:00 - (not logged in) (49.xx.xx.xx)> Connected on port 1980, sending welcome message...
(000019)2021/06/17 11:25:00 - (not logged in) (49.xx.xx.xx)> 220-FileZilla Server 0.9.60 beta
(000019)2021/06/17 11:25:00 - (not logged in) (49.xx.xx.xx)> 220 Welcome to le ftp server.
(000019)2021/06/17 11:25:00 - (not logged in) (49.xx.xx.xx)> CLNT https://ftptest.net on behalf of xxx.xx.xxx.xx
(000019)2021/06/17 11:25:00 - (not logged in) (49.xx.xx.xx)> 200 Don't care
(000019)2021/06/17 11:25:01 - (not logged in) (49.xx.xx.xx)> AUTH TLS
(000019)2021/06/17 11:25:01 - (not logged in) (49.xx.xx.xx)> 234 Using authentication type TLS
(000019)2021/06/17 11:25:01 - (not logged in) (49.xx.xx.xx)> TLS connection established
(000019)2021/06/17 11:25:01 - (not logged in) (49.xx.xx.xx)> USER inslydata
(000019)2021/06/17 11:25:01 - (not logged in) (49.xx.xx.xx)> 331 Password required for inslydata
(000019)2021/06/17 11:25:02 - (not logged in) (49.xx.xx.xx)> PASS **************
(000019)2021/06/17 11:25:02 - inslydata (49.xx.xx.xx)> 230 Logged on
(000019)2021/06/17 11:25:02 - inslydata 49.xx.xx.xx)> SYST
(000019)2021/06/17 11:25:02 - inslydata (49.xx.xx.xx)> 215 UNIX emulated by FileZilla
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)> FEAT
(000019)2021/06/17 11:25:03 - inslydata 49.xx.xx.xx)> 211-Features:
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  MDTM
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  REST STREAM
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  SIZE
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  MLST type*;size*;modify*;
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  MLSD
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  AUTH SSL
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  AUTH TLS
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  PROT
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  PBSZ
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  UTF8
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  CLNT
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)>  MFMT
(000019)2021/06/17 11:25:03 - inslydata 49.xx.xx.xx)>  EPSV
(000019)2021/06/17 11:25:03 - inslydata 49.xx.xx.xx)>  EPRT
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)> 211 End
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx)> PBSZ 0
(000019)2021/06/17 11:25:03 - inslydata (49.xx.xx.xx> 200 PBSZ=0
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> PROT P
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> 200 Protection level set to P
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> PWD
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> 257 "/" is current directory.
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> TYPE I
(000019)2021/06/17 11:25:04 - inslydata (49.xx.xx.xx)> 200 Type set to I
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> PASV
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> 227 Entering Passive Mode (xx,xx,xx,xx,192,217)
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> MLSD
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> 150 Opening data channel for directory listing of "/"
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> TLS connection for data connection established
(000019)2021/06/17 11:25:05 - inslydata (49.xx.xx.xx)> 226 Successfully transferred "/"
(000019)2021/06/17 11:25:06 - inslydata (49.xx.xx.xx)> disconnected.
Your assistance could be greatly appreciated.

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server error "425 Can't open data connection for transfer"

#2 Post by botg » 2021-06-17 11:35

Your script is not using FTP over TLS. This leaves the possibility that some firewall or NAT router is tampering with the connection. Which command-line client are you using in your script? Consider one that supports FTP over TLS.

Post Reply