Topic "Attempting to set file time/date and permissions results in error for files with accented characters"

Author Message
nvx

Guest


I have the latest version of freeSSHd running on a Win 8.1 Pro (x64) box and am connecting to it via SFTP using WinSCP v.5.7.4 from machines running Win 7 Pro (both x86 and x64). In WinSCP, I have enabled UTF-8 encoding for file names which results in remote file names being displayed correctly if they contain accented characters (e.g. "é", "è", "š", etc.). However, setting file modification time/date and file permissions after any such file has been transferred _to_ the server results in an error message "File or folder does not exist. Error code: 2. Error message sent by server: No such file." (Transferring the same file _from_ the server produces no error message.)

In other words, there are two possible scenarios while uploading files:

(A) No accented characters in file name:
File transfer to server: successful
Setting file time/date and permissions after transfer: successful

(B) Accented characters (e.g. "é", "è", "š", etc.) in file name:
File transfer to server: successful
Setting file time/date and permissions after transfer: ERROR (server responds with message "No such file")
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
It looks like a bug in the freeSSHD (it's pretty buggy server overall).
Did you try another SFTP client?
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License