Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.
Moderator: Project members
-
lhweb
- 500 Command not understood
- Posts: 1
- Joined: 2023-02-27 20:11
#1
Post
by lhweb » 2023-02-27 20:15
I'm trying to login to my FTP site
But we are having issues and we can only do it with ACTIVE
Every time I force it from passive to active it still connects to passive..
I"m at a LOSS I have to find this all over but can't - please treat me like I'm in kindergarten as this is getting frustrating
Code: Select all
Status: Connection closed by server
Status: Disconnected from server
Status: Resolving address of WEBSITE.com
Status: Connecting to HIDDING INFO:21...
Status: Connection established, waiting for welcome message...
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/USER" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT HIDDING INFO,223,209
Response: 500 Invalid PORT Command.
Command: PASV
Response: 227 Entering Passive Mode (HIDDING INFO,18,126).
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing
Status: Connection closed by server
-
botg
- Site Admin
- Posts: 35563
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#2
Post
by botg » 2023-02-28 06:44
You destroyed all diagnostic information. Please post an unobfuscated log.
-
lucas_pnw
- 500 Command not understood
- Posts: 2
- Joined: 2023-04-27 00:59
- First name: lucas
- Last name: thompson
#3
Post
by lucas_pnw » 2023-04-27 01:12
I'm having the same issue while trying to have FZ Client be active mode against a SOCKS5 proxy.
It's doing EPSV when it should be issuing a PORT or EPRT command.
Like OP I'm trying to test something where part of the chain drops all "Entering Passive Mode" messages, so these never make it to the client.
Active mode has been forced in the global settings menu and also in the site in Site Manager.
The logs are attached as a screenshot -- this was running in an isolated environment.
-
Attachments
-
- fzlogs.png (494.35 KiB) Viewed 1860 times
-
boco
- Contributor
- Posts: 26935
- Joined: 2006-05-01 03:28
- Location: Germany
#4
Post
by boco » 2023-04-27 01:36
Active Mode does not work with proxies. Using generic proxies always forces Passive Mode. There is even a warning on the settings page.
- 2023-04-27 03_35_34-Settings.png (1.85 KiB) Viewed 1857 times
-
lucas_pnw
- 500 Command not understood
- Posts: 2
- Joined: 2023-04-27 00:59
- First name: lucas
- Last name: thompson
#5
Post
by lucas_pnw » 2023-04-27 20:19
Thanks for the reply boco!
In this case I'm using a SOCKS 5 proxy which FZ should be able to tell to open the correct TCP tunnels for the data channels.
This isn't a generic (HTTP) proxy where the client is telling it "GET
ftp://foo.bar/baz HTTP/1.1\r\nHost: foo.bar\r\n\r\n".
-
boco
- Contributor
- Posts: 26935
- Joined: 2006-05-01 03:28
- Location: Germany
#6
Post
by boco » 2023-04-27 22:43
"Generic proxy" is the name of the settings tab. AFAIK, all proxies on that tab (HTTP, SOCKS4, SOCKS5) force Passive mode. Note: HTTP proxy uses CONNECT.
Active mode means, that the server is making outgoing connections back to you, for the data connections. Don't think that's possible with a simple proxy.
-
botg
- Site Admin
- Posts: 35563
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#7
Post
by botg » 2023-04-28 08:19
While SOCKS5 could on paper be used for active mode, the reality looks more grim. Testing with actual proxies has shown that they tend to fill certain reply fields with bogus values, making it impossible to use active mode with SOCKS5. This is why this functionality has never been implemented for SOCKS5 in FileZilla.