550 Invalid file name or path
Moderator: Project members
-
- 500 Command not understood
- Posts: 2
- Joined: 2023-10-17 12:54
- First name: Martin
- Last name: Hedengran
550 Invalid file name or path
Hello
I have been trying to set up a ftp server to transfer bmp and txt files from Cognex cameras.
I keep getting the error: 550 Invalid file name or path whenever i try to save a file.
I have tried to change the folder location and folder names around but nothing seems to fix the issue.
Any idea what my mistake is?
I have been trying to set up a ftp server to transfer bmp and txt files from Cognex cameras.
I keep getting the error: 550 Invalid file name or path whenever i try to save a file.
I have tried to change the folder location and folder names around but nothing seems to fix the issue.
Any idea what my mistake is?
- Attachments
-
- filezillasetting.PNG (12.42 KiB) Viewed 8643 times
-
- Filezillaprompt.PNG (31.22 KiB) Viewed 8643 times
Re: 550 Invalid file name or path
If the server runs on Windows, colons and backslashes are not allowed in filenames.
-
- 500 Command not understood
- Posts: 2
- Joined: 2023-10-17 12:54
- First name: Martin
- Last name: Hedengran
Re: 550 Invalid file name or path
It does indeed run on Windows but i am unsure how to fix this then.
When i try to alter the Native path to instead have forward slash, it complains that the path must be absolute.
When i try to alter the Native path to instead have forward slash, it complains that the path must be absolute.
Re: 550 Invalid file name or path
Look at the STOR command in the log. It's the client that wants to store a file with backslashes in its name.
Rename the file on the client to no longer contain backslashes, e.g. replace them with underscores.
Rename the file on the client to no longer contain backslashes, e.g. replace them with underscores.
Re: 550 Invalid file name or path
Hi. We have the same problem. We don't want to store the file with slashes in the name, we want to store the file in the subdirectory identified by those slashes. I believe this used to work in version 0.9 ... at least i believe we're using it that way in several applications still with the older software. The FTP client does not have the ability to issue a CD or CDW command as its not a programmable device, however we can build the filename string however we want. Is there a workaround to include the desired server-side subdirectory path in the filename? FWIW, we use both the STOR and APPE commands for sending or appending files to/on the server. Thanks, -ijf
Re: 550 Invalid file name or path
Backslashes \ are not valid as path separators. The client needs to send slashes / as path separators. The old server could afford to ignore and silently correct this wrong syntax, as it was Windows-only. But the new server also runs on POSIX file systems, where each and every character except 0x00 and the slash / is a valid character for filenames.
So,
1. The client must send filenames in the valid TVFS syntax, using slashes as path separators.
2. In the last image, you might want to set the Virtual path to be /VISION_COMAX instead of /, as the client tries to replicate it. Would eliminate duplicate directories.
So,
1. The client must send filenames in the valid TVFS syntax, using slashes as path separators.
2. In the last image, you might want to set the Virtual path to be /VISION_COMAX instead of /, as the client tries to replicate it. Would eliminate duplicate directories.
Yes, but only the virtual one, using / as path separators. The physical structure is never exposed to the client.Is there a workaround to include the desired server-side subdirectory path in the filename?
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 Invalid file name or path
IT WORKS!!
Oh man. I feel like i tried every iteration ... not sure how i didnt just try reversing the direction of the slashes. Phew!
Thank you.
Edit: I am not OP, but def. appreciate the help. Hopefully works for OP too (looks like we might be using the exact same client device).
Oh man. I feel like i tried every iteration ... not sure how i didnt just try reversing the direction of the slashes. Phew!
Thank you.
Edit: I am not OP, but def. appreciate the help. Hopefully works for OP too (looks like we might be using the exact same client device).
Re: 550 Invalid file name or path
Blame Microsoft for their decision to use the exotic backslash as path separator. Plus the whole concept of drive lettering. Every Windows user now thinks it is the status quo.
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 Invalid file name or path
I dont have anymore room on my list of things i blame on Microsoft.
But anyway, I appreciate the time you took to set me straight.
But anyway, I appreciate the time you took to set me straight.
-
- 500 Command not understood
- Posts: 1
- Joined: 2024-02-01 13:38
- First name: Pär
- Last name: Lindén
Re: 550 Invalid file name or path
Many thanks for the solution that was presented here above. I was going completely crazy because I couldn't figure out how to access my folders on my windows server. Whatever I tried, it didn't work. But now it works. It's a bit sad that this information is not in the FileZilla manual.