Downloading files form server

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
MartinImrisek
500 Command not understood
Posts: 5
Joined: 2018-06-04 13:27

Downloading files form server

#1 Post by MartinImrisek » 2018-06-04 13:41

Hi everyone,

i have two simple questions about FileZilla server.

why if I
cd /path/to/my/file/
get fileName


is all working well, but if I want to download file directly with command
get /path/to/my/file/fileName .
I get this error "426 Connection closed; transfer aborted."

and second question:
if I want to use passive mode
cd /path/to/my/file/
passive
Passive mode on.
get fileName


i get this message "227 Entering Passive Mode (147,175,18,67,220,222)" and the connection time out.

Thank you for your answer.
Martin

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

Re: Downloading files form server

#2 Post by botg » 2018-06-04 14:50

What's the complete log from the server in all three cases?

MartinImrisek
500 Command not understood
Posts: 5
Joined: 2018-06-04 13:27

Re: Downloading files form server

#3 Post by MartinImrisek » 2018-06-04 22:13

The case: I cant download file from parent directory (the same case like from / directory)
(011479)4. 6. 2018 13:19:47 - defor (147.175.80.251)> 250 CWD successful. "/15shour/Rinex/2018/155" is current directory.
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> PORT 147,175,80,251,221,62
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> 200 Port command successful
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> RETR KAME/KAME155M.18o
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> 150 Opening data channel for file download from server of "/15shour/Rinex/2018/155/KAME/KAME155M.18o"
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> ABOR
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> 426 Connection closed; transfer aborted.
(011479)4. 6. 2018 13:19:58 - defor (147.175.80.251)> 226 ABOR command successful

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Downloading files form server

#4 Post by boco » 2018-06-05 00:10

What is the used client?

1st potential issue: The client uses Active mode (PORT). Active mode requires extensive client and client network/router configuration. Data ports are at the client side, for Active. Consider using Passive.

2nd issue: It's the client aborting the connection, it sends ABOR immediately.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

MartinImrisek
500 Command not understood
Posts: 5
Joined: 2018-06-04 13:27

Re: Downloading files form server

#5 Post by MartinImrisek » 2018-06-05 09:32

1nd: Im using standard ftp service implemented in Ubuntu or java org.apache.commons.net.ftp.FTPClient. but with the same result.
There two aproaches work with many servers aroud Europe, so i dont think that I am doing something wrong, it has to be on server side, maintained by my coleague.
terminal commands:

230 Logged on
Remote system type is UNIX.
ftp> cd 15shour/Rinex/2018/156/VELS
250 CWD successful. "/15shour/Rinex/2018/156/VELS" is current directory.
ftp> ls
200 Port command successful
150 Opening data channel for directory listing of "/15shour/Rinex/2018/156/VELS"
-rw-r--r-- 1 ftp ftp 15236 Jun 05 00:59 VELS156A.18g
-rw-r--r-- 1 ftp ftp 29980 Jun 05 00:59 VELS156A.18n
-rw-r--r-- 1 ftp ftp 645512 Jun 05 00:59 VELS156A.18o
.
.
.
226 Successfully transferred "/15shour/Rinex/2018/156/VELS"
ftp> passive
Passive mode on.
ftp> get VELS156H.18o
local: VELS156H.18o remote: VELS156H.18o
227 Entering Passive Mode (147,175,18,67,194,163)
ftp: connect: Connection timed out

and the LOG:

(013310)5. 6. 2018 9:11:16 - defor (147.175.80.251)> 230 Logged on
(013310)5. 6. 2018 9:11:16 - defor (147.175.80.251)> SYST
(013310)5. 6. 2018 9:11:16 - defor (147.175.80.251)> 215 UNIX emulated by FileZilla
(013310)5. 6. 2018 9:11:52 - defor (147.175.80.251)> CWD 15shour/Rinex/2018/156/VELS
(013310)5. 6. 2018 9:11:52 - defor (147.175.80.251)> 250 CWD successful. "/15shour/Rinex/2018/156/VELS" is current directory.
(013310)5. 6. 2018 9:11:56 - defor (147.175.80.251)> PORT 147,175,80,251,173,35
(013310)5. 6. 2018 9:11:56 - defor (147.175.80.251)> 200 Port command successful
(013310)5. 6. 2018 9:11:56 - defor (147.175.80.251)> LIST
(013310)5. 6. 2018 9:11:56 - defor (147.175.80.251)> 150 Opening data channel for directory listing of "/15shour/Rinex/2018/156/VELS"
(013310)5. 6. 2018 9:11:56 - defor (147.175.80.251)> 226 Successfully transferred "/15shour/Rinex/2018/156/VELS"
(013310)5. 6. 2018 9:12:11 - defor (147.175.80.251)> PASV
(013310)5. 6. 2018 9:12:11 - defor (147.175.80.251)> 227 Entering Passive Mode (147,175,18,67,194,163)

and thats it. no more log for user defor.

2nd: I dont get it, Client is aborting or server? I give no command for abort.

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

Re: Downloading files form server

#6 Post by botg » 2018-06-06 07:49

2nd: I dont get it, Client is aborting or server? I give no command for abort.
If the server receives an ABOR command despite the client not having sent that command, there can be only one explanation: A malicious firewall or NAT router is injecting fake commands.

MartinImrisek
500 Command not understood
Posts: 5
Joined: 2018-06-04 13:27

Re: Downloading files form server

#7 Post by MartinImrisek » 2018-06-11 10:19

A malicious firewall or NAT router is injecting fake commands.
If this is true, thats ridiculous.

And what is the matter with downloading? Why can't I download files from root directory?

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

Re: Downloading files form server

#8 Post by botg » 2018-06-11 14:23

If this is true, thats ridiculous.
Sad would be more appropriate. The kind of sadness that makes you realize all hope in humanity is lost.
And what is the matter with downloading? Why can't I download files from root directory?
Same broken firewall or NAT router.

MartinImrisek
500 Command not understood
Posts: 5
Joined: 2018-06-04 13:27

Re: Downloading files form server

#9 Post by MartinImrisek » 2018-06-26 14:39

:D thank you very much for your time, and I hope you are not joking with me
Same broken firewall or NAT router.
.

Post Reply