Hi,

I'm using the mirror command to do a daily snapshot of a server on a
backup machine. When I run the mirror command from a console, it works
perfectly.  When it is run within a cron job, it fails for one
specific file with a non-ASCII character in the name.

mirror: Access failed: 550 graindecaf??.jpg: No such file or directory
(graindecafé.jpg)

I tried to force the character encoding with the following commands.

set file:charset UTF-8
set ftp:charset UTF-8

But the issue is still the same (i.e., the mirror command works
perfectly from a console and fails from a cron job).

What other setting could be confusing lftp about the right character encoding?

Thank you for your help.

--
Lacton

Reply via email to