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
Log::Report::Win32Locale(3pm)				User Contributed Perl Documentation			     Log::Report::Win32Locale(3pm)

NAME
Log::Report::Win32Locale - unix/windows locales INHERITANCE
Log::Report::Win32Locale is a Exporter DESCRIPTION
Windows uses different locales to represent languages: codepages. Programs which are written with Log::Report however, will contain ISO encoded language names; this module translates between them. The algorithms in this module are based on Win32::Locale and Win32::Codepage. FUNCTIONS
charset_encoding Returns the encoding name (usable with module Encode) based on the current codepage. For example, "cp1252" for iso-8859-1 (latin-1) or "cp932" for Shift-JIS Japanese. Returns undef if the encoding cannot be identified. codepage_to_iso(CODEPAGE) Translate windows CODEPAGE into ISO code. The CODEPAGE is numeric or a hex string like '0x0304'. iso_locale([CODEPAGE]) Returns the ISO string for the Microsoft codepage locale. Might return "undef"/false. By default, the actual codepage is used. iso_to_codepage(ISO) Returns the numeric value of the codepage. The ISO may look like this: "xx_YY". Then, first the "xx_YY" is looked-up. If that does not exist, "xx" is tried. ms_codepage_id Returns the numeric language ID for the current codepage language. For example, the numeric value for 0x0409 for "en-US", and 0x0411 for "ja". Returns false if the codepage cannot be identified. ms_install_codepage_id Returns the numeric language ID for the installed codepage language. This is like ms_codepage_id(), but refers to the codepage that was the default when Windows was first installed. ms_locale Returns the locale setting from the control panel. SYNOPSYS
# Only usable on Windows print codepage_to_iso(0x0413); # nl-NL print iso_to_codepage('nl_NL'); # 1043 printf "%x", iso_to_codepage('nl_NL'); # 413 my $iso = iso_locale(ms_codepage_id()); my $iso = iso_locale; # same print charset_encoding; # cp1252 print ms_codepage_id; # 1043 print ms_install_codepage_id; # 1043 print ms_locale; # Dutch (Netherlands) SEE ALSO
This module is part of Log-Report distribution version 0.94, built on August 23, 2011. Website: http://perl.overmeer.net/log-report/ LICENSE
Copyrights 2007-2011 by Mark Overmeer. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.14.2 2011-08-23 Log::Report::Win32Locale(3pm)
All times are GMT -4. The time now is 10:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy