Sponsored Content
Operating Systems SCO compressed file was ftpied in ascii mode needs recovery Post 99864 by gauravgoel on Wednesday 22nd of February 2006 03:32:18 AM
Old 02-22-2006
Hi,

I know its a weird suggestion, but it is likely to work.

1) FTP the file back to unix machine from windows using ASCII mode
2) Now again FTP the file from unix to windows in BIN mode.

Gaurav
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Converting ASCII to Binary mode

Dear All, Business Users are transfering ( FTP ) a CSV file into the IBM AIX box with transfer mode as ASCII. But I want to convert the CSV file from ASCII mode into binary mode, as my script expects file in binary mode. Is it possible to do through Unix commands? Thanks in Advance, RK (1 Reply)
Discussion started by: srajeshmca
1 Replies

2. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies

3. Shell Programming and Scripting

SFTP in ASCII mode

Hi Copying a file from Unix (Solaris) to a windows server using sftp. File arrives with carriage returns and line feeds screwed (binary file transfer). Is there a way to get these to copy properly without having to edit or messa about with the file on the windows side. I know with FTP you can... (4 Replies)
Discussion started by: billy_mega
4 Replies

4. Windows & DOS: Issues & Discussions

Windows XP recovery/repair mode

hello again all, assume I can not log in to the windows installation, (maybe) because of a system file corruption or failure.. however, I do log in to the system using the windows CD with R (repair) mode, that is the command line prompt. Is there a way in that command prompt to copy the files... (10 Replies)
Discussion started by: milhan
10 Replies

5. Shell Programming and Scripting

How to find whether a file is transferred thro bin or ascii mode?

Hi Gurus, I need to find out, if i have transferred a file from ftp thro bin mode or ascii mode. Say if i have a file called "dec.sh"( u shuld normally transfer thro ascii mode). How can i find out that dec.sh is tranferred from ftp server thro ascii mode or bin mode? Any help would be... (9 Replies)
Discussion started by: Ashok_oct22
9 Replies

6. Shell Programming and Scripting

Ascii Mode appending extra records to csv file

I am relatively new to this forum and Unix scripting. ksh script: part 1 :will call a PL\SQL program will create 3 CSV file at the unix directory. part 2 : will sftp the files to the EFT server. Once the EFT server receives these file , it will transfer them to a shared windows folders. ... (3 Replies)
Discussion started by: developerpa
3 Replies

7. Shell Programming and Scripting

dont want to ftp file which has been already ftpied

curr_time=`date +%Y%m%d%H%M` curr_date=`date +%Y%m%d` zero=0 script_path="/home/wccuser1/wcc/Scripts/bulk_file_ftp" file_dir="/home/wccuser1/wcc/Bulk_Files" todays_file_count=`ls -ltr | grep $curr_date | awk '{print $9}' | wc -l` todays_file=`ls -ltr | grep $curr_date | awk '{print $9}'`... (2 Replies)
Discussion started by: gagandeep
2 Replies

8. Shell Programming and Scripting

WARNING! 16126 bare linefeeds received in ASCII mode

I am doing FTP from a server and getting below ERROR:WARNING! 16126 bare linefeeds received in ASCII mode File may not have transferred correctly. I looked into web and found that I may need to change the mode to binary, but when I do so the records are not in readable format...So need the file... (10 Replies)
Discussion started by: joshilalit2004
10 Replies

9. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
EBZIP(1)							   User Commands							  EBZIP(1)

NAME
ebzip - compress a CD-ROM book SYNOPSIS
ebzip [option...] [book-directory] OPTIONS
-f --force-overwrite set overwrite mode to `force' (same as `--overwrite force') -h --help display this help, then exit -i --information list information of compressed files -k --keep don't delete original files -l INTEGER --level INTEGER compression level; 0..5 (default: 0) -n --no-overwrite set overwrite mode to `no' (same as `--overwrite no') -o DIRECTORY --output-directory DIRECTORY ouput files under DIRECTORY (default: .) -q --quiet --silence suppress all warnings -s TYPE[,TYPE] --skip-content TYPE[,TYPE...] skip content; font, graphic, sound or movie (default: none is skipped) -S SUBBOOK[,SUBBOOK...] --subbook SUBBOOK[,SUBBOOK...] target subbook (default: all subbooks) -t --test only check for input files -u --uncompress uncompress files -v --version display version number, then exit -w MODE --overwrite MODE set overwrite mode of output files; confirm, force or no (default: confirm) -z --compress compress files Argument: book-directory top directory of a CD-ROM book (default: .) Default action: When invoked as `ebunzip', uncompression is the default action. When invoked as `ebzipinfo', listing information is the default action. Otherwise, compression is the default action. REPORTING BUGS
Report bugs to m-kasahr@sra.co.jp. COPYRIGHT
Copyright (C) 1997-2006 Motoyuki Kasahara ebzip (EB Library) version 4.4.3 July 2012 EBZIP(1)
All times are GMT -4. The time now is 12:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy