LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2008, 04:53 AM   #1
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 106

Rep: Reputation: 16
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?
 
Old 06-09-2008, 06:14 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
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?
 
Old 06-09-2008, 09:42 AM   #3
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 106

Original Poster
Rep: Reputation: 16
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,

Last edited by hashbangbinbash; 06-09-2008 at 09:44 AM.
 
Old 06-09-2008, 10:10 AM   #4
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
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?
 
Old 06-09-2008, 11:26 AM   #5
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 106

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lwasserm View Post
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?
I disagree, I would say that is precisely a solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bashing my plumber... jsheffie Programming 6 04-04-2006 04:22 PM
Please STOP bashing! Seppel General 24 03-14-2005 02:14 PM
Keyboard bashing!!! spedsta Linux - General 4 09-06-2004 11:55 PM
A little Microsoft bashing jimdaworm General 13 04-21-2004 05:06 PM
Linux Bashing lava General 2 03-27-2003 12:17 AM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration