550 Could't Open the file or 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
moonraker78
500 Command not understood
Posts: 2
Joined: 2023-08-29 15:10
First name: Gareth
Last name: Davies

550 Could't Open the file or directory

#1 Post by moonraker78 » 2023-08-29 15:13

Hi, have a client trying to upload files to FileZilla server but getting 550 Couldn't open the file or directory once the folder has been created

<Date/Time> Info [Type] Message
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Command] SIZE /Recycling/Recycling/350317179282359/C_20230802_0442_B_Stonder_1040000037200000.DDD
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Response] 550 Couldn't open the file or directory
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Command] MDTM /Recycling/Recycling/350317179282359/C_20230802_0442_B_Stonder_1040000037200000.DDD
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Response] 550 Couldn't open the file or directory
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Command] TYPE I
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Response] 200 Type set to I
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Command] EPSV
<29-08-2023 16:09:24> FTP Session 25 81.7.106.113 vision [Response] 229 Entering Extended Passive Mode (|||49176|)

The folder does get created but no file uploaded, any ideas? TIA.

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

Re: 550 Could't Open the file or directory

#2 Post by boco » 2023-08-29 16:28

Could the actual physical path, in the end, end up being 260 or more characters long? At least Windows doesn't support such long paths by default.
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

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

Re: 550 Could't Open the file or directory

#3 Post by botg » 2023-08-29 19:22

Also, since this is Windows, make sure the file isn't already opened exclusively in some other program.

moonraker78
500 Command not understood
Posts: 2
Joined: 2023-08-29 15:10
First name: Gareth
Last name: Davies

Re: 550 Could't Open the file or directory

#4 Post by moonraker78 » 2023-08-30 08:05

@boco, no the physical path in the end is no more than 100 charaters.

@botg, no the files are not open already in windows, in fact they are not present in windows yet so cannot be opened.

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

Re: 550 Could't Open the file or directory

#5 Post by botg » 2023-08-30 08:56

I see now, the log is incomplete. Could you please provide a complete log of an upload attempt?

PatrickM
500 Command not understood
Posts: 3
Joined: 2019-10-13 14:18
First name: Patrick
Last name: McKnight

Re: 550 Could't Open the file or directory

#6 Post by PatrickM » 2023-08-31 14:21

Everything appears to work correctly except the file directory in my case:
<Date/Time> Info [Type] Message
<31-08-2023 08:13:41> Admin UI [Status] Successfully connected to server 127.0.0.1:14148. Server's version is 1.7.2, running on x86_64-w64-mingw32.
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Response] 220-FileZilla Server 1.7.2
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Response] 220-Please visit https://filezilla-project.org/
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Response] 220 See https://xxxxxx.org
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Command] AUTH TLS
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Response] 234 Using authentication type TLS.
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Command] USER username
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Response] 331 Please, specify the password.
<31-08-2023 08:14:00> FTP Session 61 xx.xx.xx.xx [Command] PASS ****
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 230 Login successful.
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] FEAT
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 211-Features:
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 211 End
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] CWD C:\HostingSpaces
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 550 Couldn't open the file or directory
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] PWD
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 257 "/" is current directory.
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] TYPE I
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 200 Type set to I
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] PASV
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,220,14)
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] MLSD
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 150 About to start data transfer.

Directory is never found.... any idea why?

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

Re: 550 Could't Open the file or directory

#7 Post by boco » 2023-08-31 16:21

<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Command] CWD C:\HostingSpaces
<31-08-2023 08:14:01> FTP Session 61 xx.xx.xx.xx patm [Response] 550 Couldn't open the file or directory
That's not the path syntax FileZilla Server uses. Look up your definitions on the server, you need to use in the client what's entered as the Virtual Path, not as the Physical one. So, if "C:\HostingSpaces" is associated with "/", you need to use / as remote directory descriptor in the client. Maybe you did enter "C:\HostingSpaces" into a wrong field in the client? It's possibly local, not remote.
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

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

Re: 550 Could't Open the file or directory

#8 Post by botg » 2023-08-31 19:20

Also, please don't modify the log, you are removing important diagnostic information.

Post Reply