550 Could't Open the file or directory
Moderator: Project members
-
- 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
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.
<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.
Re: 550 Could't Open the file or directory
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
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: 550 Could't Open the file or directory
Also, since this is Windows, make sure the file isn't already opened exclusively in some other program.
-
- 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
@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.
@botg, no the files are not open already in windows, in fact they are not present in windows yet so cannot be opened.
Re: 550 Could't Open the file or directory
I see now, the log is incomplete. Could you please provide a complete log of an upload attempt?
-
- 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
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?
<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?
Re: 550 Could'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.<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
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
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: 550 Could't Open the file or directory
Also, please don't modify the log, you are removing important diagnostic information.