Bashing problem.
I have a directory full of names with special characters like Utopía, µ-Ziq, Raz¢n and Monotónu.
When I try to ftp these files the client (XP) creates the folder in my local directory but they are empty because the server (Gentoo) isn't finding the files, I think due to these special characters that the remote Gentoo box isn't recognizing. I've want to create a script that will decend into these directories changing all "í" for instance into "i", so that I can copy these directories and their files, can someone show me what a script like that might look like please, or just tell me if there's a simpler way how I can get the server to copy over the files I want despite the names? |
Writing a script for this is IMHO a last resort option: you want to address the cause, not the symptoms. What FTP daemon are you running? Can you run it with full verbose and debug logging on? If you then try to create the files with your XP client, what do the logs say? And when you then try to create those files with a FTP client on the remote server itself?
|
I'm using FileZilla. I think I can run it with full verbose on. What happens is that the client creates the files I am trying to download from the remote server, but then they are empty when on the remote server they contain several files but named with these exotic characters. So the names are being created locally but remotely the request to send files with those names fails as the names arent recognized. I'm pretty sure it's a character set thing, but I don't know how to make the server use that character set, or what character set it is exactly.
ps- thanks for the response, |
Not exactly a solution, but could you zip or tar (& perhaps gzip also) the files with a name recognized on both ends, and untar at the receiving end?
|
Quote:
|
All times are GMT -5. The time now is 03:33 PM. |