Reply: 501 Couldn't open the directory

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
msrbelfast
500 Command not understood
Posts: 1
Joined: 2022-06-26 00:35
First name: Matthew
Last name: Rodgers

Reply: 501 Couldn't open the directory

#1 Post by msrbelfast » 2022-06-26 00:41

Hi,

I'm trying to set up an FTP server from my home computer that I can access remotely. I've got this far, and now I'm stuck! I'm using Win 10, Apple Airport Express into Virgin Media Hub 3 (on Modem mode).

Any help greatly appreciated.

Many thanks,

Matt

---

Test log

Warning: Allowing fallback to plaintext FTP is insecure. You should use explicit FTP over TLS.

Warning: Selected port (2121) is not the default port (21) of the selected protocol.

Status: Resolving address of

Status: Connecting to

Warning: The entered address does not resolve to an IPv6 address.

Status: Connected, waiting for welcome message...

Reply: 220-FileZilla Server 1.4.1

Reply: 220 Please visit https://filezilla-project.org/

Command: CLNT https://ftptest.net on behalf of

Reply: 200 Don't care.

Command: AUTH TLS

Reply: 234 Using authentication type TLS.

Status: Performing TLS handshake...

Status: TLS handshake successful, verifying certificate...

Status: Received 1 certificates from server.

Status: cert[0]: subject='CN=filezilla-server self signed certificate' issuer='CN=filezilla-server self signed certificate'

Command: USER XXX XXX

Reply: 331 Please, specify the password.

Command: PASS ***********************

Reply: 230 Login successful.

Command: SYST

Reply: 215 UNIX emulated by FileZilla.

Command: FEAT

Reply: 211-Features:

Reply: MDTM

Reply: REST STREAM

Reply: SIZE

Reply: MLST type*;size*;modify*;perm*;

Reply: MLSD

Reply: AUTH SSL

Reply: AUTH TLS

Reply: PROT

Reply: PBSZ

Reply: UTF8

Reply: TVFS

Reply: EPSV

Reply: EPRT

Reply: MFMT

Reply: 211 End

Command: PBSZ 0

Reply: 200 PBSZ=0

Command: PROT P

Reply: 200 Protection level set to P

Command: PWD

Reply: 257 "/" is current directory.

Status: Current path is /

Command: TYPE I

Reply: 200 Type set to I

Command: PASV

Reply: 227 Entering Passive Mode (,192,245)

Command: MLSD

Status: Data connection established, performing TLS handshake...

Status: TLS handshake successful, verifying certificate...

Status: Received 1 certificates from server.

Status: cert[0]: subject='CN=filezilla-server self signed certificate' issuer='CN=filezilla-server self signed certificate'

Status: TLS session of transfer connection has been resumed.

Reply: 501 Couldn't open the directory

Error: Listing failed

AurelM
504 Command not implemented
Posts: 8
Joined: 2022-01-15 12:10

Re: Reply: 501 Couldn't open the directory

#2 Post by AurelM » 2022-06-26 10:33

Make sure the port range configured in FileZilla Server for the Passive mode is forwarded correctly on the router. Here are two sites with instructions for Apple AirPort routers on port forwarding: https://discussions.apple.com/docs/DOC-3415 https://portforward.com/apple/airport-extreme/ .
If the router doesn't let you configure a range, you'll have to make multiple single port forwardings for the entire range, but in this case just use a range of 10 ports for testing and then adjust for your use case.

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

Re: Reply: 501 Couldn't open the directory

#3 Post by boco » 2022-06-26 12:24

Make sure the account FileZilla Server runs under (SYSTEM by default) has full access to the physical directories you define as resources in the configuration. Also make sure the Controlled Folder Access (a Windows feature) doesn't block anything related to FileZilla Server and the resources.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply