compressed file was ftpied in ascii mode needs recovery


 
Thread Tools Search this Thread
Operating Systems SCO compressed file was ftpied in ascii mode needs recovery
# 1  
Old 02-22-2006
compressed file was ftpied in ascii mode needs recovery

I am unbale to uncompress a file which was compress then moved to another pc in ascii mode instead of binary mode. Is there any way to recover it. Please help us. While uncompress it is giving corrupt input.

Last edited by raj2610; 02-22-2006 at 05:19 AM..
# 2  
Old 02-22-2006
Hi,

I dont know the solution but telling ftp was between which two OS, may help to solve your problem,

Gaurav
# 3  
Old 02-22-2006
Hi gourav, It is being ftpied from unix to windows operating system.
# 4  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question