Sponsored Content
Operating Systems Linux SuSE FTP set codepage of source dataset Post 302778355 by tsdjim on Sunday 10th of March 2013 02:14:44 PM
Old 03-10-2013
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?
 

10 More Discussions You Might Find Interesting

1. IP Networking

set the source IP address to zero

Hi, does anybody know how to set the IP source address of an IP packet to be zero? The problem is that when you create a raw socket and set the IP_HDRINCL socket option, if you put the ip_src address to zero (INADDR_ANY) the kernel will automatically set the source address to the primary IP address... (2 Replies)
Discussion started by: developer
2 Replies

2. UNIX for Dummies Questions & Answers

ftp copy: preserve source file date stamp

Is there any way to preserve a file's create/mod date stamp when it is "put" via ftp (or even using Fetch) to a Win2K server and a SunOS 5.8 server? For example, if I copy a file with a create/mod date of "01/15/2005 3:36 PM" to my Win2K or SunOS ftp server, the date stamp will change to the... (5 Replies)
Discussion started by: cassj
5 Replies

3. AIX

Dont want to change the codepage of a unicode file

I have a unicode file which needs to be modifed in an AIX environment from within a shell (ksh). I am concerned that the modification may involve a change in the file's codepage. Is my concern correct ? If so, whats the way around ? Thanks in advance. (0 Replies)
Discussion started by: shibajighosh
0 Replies

4. Linux

How to set up FTP Server with Active Directory

I've set up a FTP server (vsftpd) with some local user account and it works fine. Now i want to upgrade this FTP server with an ability that can authorize user through Active Directory. I do a search around our forum and it leads me to this page: Native LDAP, native Kerberos and Windows Server... (0 Replies)
Discussion started by: cthinh
0 Replies

5. Shell Programming and Scripting

KSH, FTP running a set number at a time?

At work we have a script that pulls a file from a list of remote sites every 10 min. Currently it only does this ftp one sites at a time and this process takes up to 8 minutes to complete. I want to have this list of 24 sites and be able to run the ftp from up to 2 sites on the list at a time. I... (1 Reply)
Discussion started by: kofs79
1 Replies

6. UNIX for Dummies Questions & Answers

How do you set up an FTP user account?

1) How do you set up an FTP user account on a Solaris Unix box? Please show the steps (assuming I have root account access). 2) Where are the FTP user account information stored? For example: Unix user accouns are stored on /etc/passwd what about ftp user account where are they stored? Thanks... (3 Replies)
Discussion started by: XZOR
3 Replies

7. Programming

I have C++ exe file( no source code) and need to run many large dataset under unix, b

I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?http://www.codeproject.com/script/Forums/Images/New.gif I think "top" is not good and if using the profiler, it seems no free download, any ideas? (1 Reply)
Discussion started by: Danielwang1986
1 Replies

8. Solaris

flarecreate for zfs root dataset and ignore multiple dataset

Hi All, I want to write a script to create flar images on multiple servers. In non zfs filesystem I am using -X option to refer a file to exclude mounts on different servers. but on ZFS -X option is not working. I want multiple mounts to be ignore on ZFS base system during flarecreate. I... (0 Replies)
Discussion started by: uxravi
0 Replies

9. UNIX for Dummies Questions & Answers

FTP service/ set up

Hi Everybody, How can I understand when I login to any unix server that this server is having ftp service running? what I care is that I want to ftp something to this server and I can't, something like connection refuse. is there any ways to understand if the ftp is setup? and if not, how to set... (2 Replies)
Discussion started by: messi777
2 Replies

10. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies
LOCALE(1)						    BSD General Commands Manual 						 LOCALE(1)

NAME
locale -- display locale settings SYNOPSIS
locale [-a|m] locale [-ck] name [...] DESCRIPTION
locale displays information about the current locale, or a list of all available locales. When locale is run with no arguments, it will display the current source of each locale category. When locale is given the name of a category, it acts as if it had been given each keyword in that category. For each keyword it is given, the current value is displayed. OPTIONS
-a Lists all public locales. -c name ... Lists the category name before each keyword, unless it is the same category as the previously displayed keyword. -k name ... Displays the name of each keyword prior to its value. -m Lists all available public charmaps. Darwin locales do not support charmaps, so list all CODESETs instead. OPERANDS
The following operand is supported: name is the name of a keyword or category to display. A list of all keywords and categories can be shown with the following command: locale -ck LC_ALL ENVIRONMENT
LANG Used as a substitute for any unset LC_* variable. If LANG is unset, it will act as if set to "C". If any of LANG or LC_* are set to invalid values, locale acts as if they are all unset. LC_ALL Will override the setting of all other LC_* variables. LC_COLLATE Sets the locale for the LC_COLLATE category. LC_CTYPE Sets the locale for the LC_CTYPE category. LC_MESSAGES Sets the locale for the LC_MESSAGES category. LC_MONETARY Sets the locale for the LC_MONETARY category. LC_NUMERIC Sets the locale for the LC_NUMERIC category. LC_TIME Sets the locale for the LC_TIME category. SEE ALSO
localedef(1), localeconv(3), nl_langinfo(3), setlocale(3) STANDARDS
The locale utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
locale appeared in Mac OS X 10.4 Darwin August 27, 2004 Darwin
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy