Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#5003 closed Bug report (rejected)

Error: "cannot find specified file" when trying to GET a filename from a remote site

Reported by: Andre Owned by:
Priority: normal Component: FileZilla Client
Keywords: Foreign characters filename transfer Cc:
Component version: Operating system type: Windows
Operating system version: Windows XP SP3 32bit

Description

I am trying to GET a file from a remote FTP site to my local hard drive by dragging and dropping the file from the right pane to the left pane. The transfer works fine on regular file names in the exact same folder that only have normal English characters in them.

However, the filenames that have French characters in them are not transmitted because the foreign symbols are confusing the parser and turning into question marks (?).

How can I transfer these files with French characters in them?

Thank you.

Here is my Log:

16:54:55 Command: TYPE I
16:54:55 Response: 200 Type set to IMAGE.
16:55:02 Status: Resolving address of ftp.canadapost.ca
16:55:02 Status: Connecting to 66.110.6.55:21...
16:55:02 Status: Connection established, waiting for welcome message...
16:55:02 Response: 220 frontend.canadapost.ca X2 WS_FTP Server 5.0.5 (3420342155)
16:55:02 Command: USER 3pvendor
16:55:02 Response: 331 Password required
16:55:02 Command: PASS
16:55:02 Response: 230 user logged in
16:55:02 Command: OPTS UTF8 ON
16:55:02 Response: 501 invalid option
16:55:02 Status: Connected
16:55:02 Status: Starting download of /users/3pvendor/CACOMMON/2. Specifications/2.1 Labels and Customs Forms/2.1.1 Domestic Label Specifications/3509A F_Code à barres bidimensionnel à grille de données pour les produits de distribution du régime intérieur de la SCP.pdf
16:55:02 Command: CWD /users/3pvendor/CACOMMON/2. Specifications/2.1 Labels and Customs Forms/2.1.1 Domestic Label Specifications
16:55:02 Response: 250 CWD successful
16:55:02 Command: TYPE I
16:55:02 Response: 200 Type set to IMAGE.
16:55:02 Command: PASV
16:55:02 Response: 227 Entering Passive Mode (66,110,6,55,157,65)
16:55:02 Command: RETR 3509A F_Code à barres bidimensionnel à grille de données pour les produits de distribution du régime intérieur de la SCP.pdf
16:55:02 Response: 550 3509A F_Code ?? barres bidimensionnel ?? grille de donn??es pour les produits de distribution du r??gime int??rieur de la SCP.pdf: cannot find specified file
16:55:02 Error: Critical error

Change History (3)

comment:1 by Tim Kosse, 15 years ago

Resolution: rejected
Status: newclosed

This happens if you're not using UTF-8 as filename encoding. Use of any other character set is bound to cause problem between different systems.

Please read http://wiki.filezilla-project.org/Character_Set#SFTP for details.

Please update to a server that makes uses of UTF-8 or refrain from using non-ASCII characters in filenames.

If you happen to know the obscure encoding your server uses, you can set it in the sitemanager of FileZilla for your server.

comment:2 by Andre, 15 years ago

Resolution: rejected
Status: closedreopened

Hmmm...there are definitely some discrepancies with your statement and that wiki.

The server did respond to the FEAT command with UTF8 so it should support it, no?

As you can see, FileZilla sends the command OPTS UTF8 ON which gets a 501 invalid option response. However, your wiki says it should be OPTS UTF-8 ON (notice the dash). I tried sending OPTS UTF-8 ON to the server via the manual command line and that says invalid as well.

I don't understand what is going on and which command is correct. Why would the server respond with FEAT UTF8 and then the OPTS command doesn't work ? (with either OPTS UTF8 ON or OPTS UTF-8 ON).

Also, which format is correct? OPTS UTF8 ON or OPTS UTF-8 ON ?

Can anyone clarify this?

Thank you.

comment:3 by Tim Kosse, 15 years ago

Resolution: rejected
Status: reopenedclosed

The wiki article also says that use of OPTS UTF8 is useless on a proper server. The one implemented in FZ is correct, but useless.

16:55:02 Command: RETR 3509A F_Code à barres bidimensionnel à grille de données pour les produits de distribution du régime intérieur de la SCP.pdf
16:55:02 Response: 550 3509A F_Code ?? barres bidimensionnel ?? grille de donn??es pour les produits de distribution du r??gime int??rieur de la SCP.pdf: cannot find specified file

According to this the server does not understand UTF8.

16:55:02 Response: 220 frontend.canadapost.ca X2 WS_FTP Server 5.0.5 (3420342155)

Furthermore, your server is heavily outdated, at the very least update to the most recent version and try again.

Note: See TracTickets for help on using tickets.