FTP set codepage of source dataset | Unix Linux Forums | SuSE

  Go Back    


SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

FTP set codepage of source dataset

SuSE


Tags
codepage, ftp

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-09-2013
tsdjim tsdjim is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 10 March 2013, 3:03 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
FTP set codepage of source dataset

I have a file on Suse Linux which is created in codepage 420. I need to FTP this file to a remote server with codepage 1256.

How do I specify in FTP that the source codepage is 420 instead of the Linux default? Is this possible with curl or any other ftp client on Linux. I don't see a paramater in FTP to specify a source codepage.
Sponsored Links
    #2  
Old 03-10-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 24 April 2014, 1:36 AM EDT
Posts: 1,611
Thanks: 90
Thanked 456 Times in 413 Posts
"codepage" in Linux? How is that ancient DOS thing related to "locale"?
But I have a general hint.
In ftp, the ascii command turns on conversion to the local character set.
Sponsored Links
    #3  
Old 03-10-2013
tsdjim tsdjim is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 10 March 2013, 3:03 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
The input file is not in the locale charset, it is created as CCSID 420, setting ASCII in ftp will merely use the default locale as the input which will be incorrect. I need to explicitly set the input locale. WIll seting LC_ALL do this?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
flarecreate for zfs root dataset and ignore multiple dataset uxravi Solaris 0 09-13-2011 01:49 PM
I have C++ exe file( no source code) and need to run many large dataset under unix, b Danielwang1986 Programming 1 01-23-2009 10:58 AM
Dont want to change the codepage of a unicode file shibajighosh AIX 0 05-13-2008 12:21 AM
ftp copy: preserve source file date stamp cassj UNIX for Dummies Questions & Answers 5 02-16-2005 05:38 PM
set the source IP address to zero developer IP Networking 2 12-14-2001 07:35 PM



All times are GMT -4. The time now is 12:28 PM.