Yedidyah Bar-David wrote:

On Tue, Dec 02, 2003 at 01:18:19PM +0200, Erez Doron wrote:


hi

i am trying to do the following:

there is a samba server in the university. i have ftp access to it (no smb access)
the hebrew file names are of course wrong (as their samba does not have the hebrew patch)
i solved it by mirrorring the ftp site via wget, and then accessing it localy via samba.


the problems are:
1. wget conversts some of the filename chars to %<aascii in hex> ( i.e. %20 for space char)
2. i need a computer running samba for this.


i could have got arounds 1. by fixing the filenames using a script after doanload, but it wouldn't work when i try to update my copy of the mirror.
i could also hold symlinks with fixed names, but this is mor difficult as i have to update new symlinks when new files apear...



i really only want to have access to the correct hebrew names on my laptop, running windows ( i have also cygwin on it).
i prefer not to use a samba server ...


any idea ?



It's not clear what is a good and what is a bad solution for you,
but if you want there are scripts that convert filenames between
charsets. I have my own, there were a few others in linux-il (search
the archives), and there are even a bit more organized things in
freshmeat announcements lately.


it is relativly trivial to convert the filenames, but it will prevent wget from updating only changes as it will find different names in the source and dest of the mirror

cheers,
erez



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to