Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


@ahmed.bouslama: If you need our help, please give us details about your problem.

@ericb44: Hello could you explain more how did you solve this issue please?

Thanks :)


I've just verified my issue with the 5.15.5.
All works now (access accented dir, put/get accented file) without any modification (WinSCP client and server file).
Thank you for your answer (Martin) and I list this project in my contributor list now :).

Error code 2 (SFTP) with a accented directory name


This reproductible bug is coming when a click in ordre to enter to a directory named "vélo".

This is environment:

  • Windows 10 (FR)
  • WinSCP 5.15.4
  • Linux server: Debian 3 with locale fr_FR.UTF-8
  • protocol: SFTP-3

Error message (in French):
Impossible d'obtenir le chemin réel de '/media/vg1-lv1/lv2/ROOTTREE_WORK/PERSO/Vélo'
Fichier ou répertoire inexistant
Code d'erreur : 2
Message d'erreur du serveur : No such file

Log file:
. 2019-09-26 19:02:19.585 Changing directory to "Vélo".
. 2019-09-26 19:02:19.585 Getting real path for '/media/vg1-lv1/lv2/ROOTTREE_WORK/PERSO/Vélo'
> 2019-09-26 19:02:19.585 Type: SSH_FXP_REALPATH, Size: 52, Number: 425232
< 2019-09-26 19:02:19.585 Type: SSH_FXP_STATUS, Size: 29, Number: 425232
< 2019-09-26 19:02:19.585 Status code: 2, Message: 425232, Server: No such file, Language: 
* 2019-09-26 19:02:19.600 (ECommand) Erreur lors du changemenent de répertoire vers 'Vélo'.
* 2019-09-26 19:02:19.600 Impossible d'obtenir le chemin réel de '/media/vg1-lv1/lv2/ROOTTREE_WORK/PERSO/Vélo'
* 2019-09-26 19:02:19.600 Fichier ou répertoire inexistant
* 2019-09-26 19:02:19.600 Code d'erreur : 2
* 2019-09-26 19:02:19.600 Message d'erreur du serveur  : No such file

Notice: other directory at the same level without accented char are ok, it is not a permission problem I can enter into dir vélo :)

Thank you for your answer.
Have a good day :)