1752592 Members
3851 Online
108788 Solutions
New Discussion юеВ

FTP vs SAMBA

 
Alex Lavrov
Regular Advisor

FTP vs SAMBA

Hello!

I have a little (well, for users it's huge) problem with hebrew on HPUX11i.
One of our computer died (RIP), so I restored couple of files to another comp, but the problem is with hebrew. It goes like this:
when i'm looking on these files with FTP client (like Wincmd and etc) I can see hebrew files, but with samba it's all messed up and the files that I can see in samba, on FTP are messed up, the same thing is with new files.
Files vreated with samba cannot be seen properly on FTP, and files created with FTP could not be seen properly with SAMBA.
I'm sure the problem is in some characterset settings in samba or maybe ftp

thanx
5 REPLIES 5
Darren Prior
Honored Contributor

Re: FTP vs SAMBA

Hi,

Are you using ascii mode when you use ftp? Samba transfers files so they are exactly the same after the transfer, whereas ftp in ascii mode will translate new line sequences.

Try comparing ftp in binary mode with Samba - do you get the same result?

regards,

Darren.
Calm down. It's only ones and zeros...
Robert-Jan Goossens
Honored Contributor

Re: FTP vs SAMBA

Alex,

Take a llok at next link.

http://www.iglu.org.il/faq/cache/78.html

Hope it helps,

Robert-Jan.
Steven E. Protter
Exalted Contributor

Re: FTP vs SAMBA

It's probably just the default settings on your shares in smb.conf.

You might try posting it so we can look at it.

The files are tranferring binary and you probably need them to transfer ascii.

You do need to make sure all the hebrew fonts and characters are properly installed on the target system. I suspect problems in that are as well.

Shalom

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Zeev Schultz
Honored Contributor

Re: FTP vs SAMBA

As to hebrew SEP is right , see my attached
example. I create (and write to) simple text file (in Hebrew) and rename it to a Hebrew file name as well. I can see some Jibrish characters name with ftp>ls , I can't see a thing with hp-ux ls (no filename).I remember from somewhere that CIFS (samba) client didn't support unicode that is used by M$ Windows systems (2k etc).

regards,

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Alex Lavrov
Regular Advisor

Re: FTP vs SAMBA

Thanx for the help,
I'll try these things next week and let you know if it works.
(If not, Zeev, I'll call you ;-) )