LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2007, 09:24 PM   #1
steven_yu
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Rep: Reputation: 0
Using ftp to transfer file, some headache problems


I always use lftp or ftp to thansfer a compressed file (such as .tar.gz or tar.tar) from one machine to another, the file in original PC is ok and I can uncompress it, but in destination PC I am failed to uncompress it.

For example:

andy@9AndyYu1:vlc-0.8.6b> tar xvf dvbcut_0.5.4.tar.tar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 7511 bytes from dvbcut_0.5.4.tar.tar
tar: Error exit delayed from previous errors

but on original PC it is OK and don't have any problem to uncompress it.

I have also used md5sum to check whether it has been corrupted during network transfer, but the result is the same.

This problem has occured sometimes, not always, please help me how to solve this problem and why does it occur? Thanks very much.
 
Old 06-11-2007, 03:03 AM   #2
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Rep: Reputation: 15
a very wild guess - try to transfer files in binary mode if you are not already doing that
 
Old 06-11-2007, 04:28 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
I don't understand why a file would end in .tar.tar---does that mean it was tarred twice? Why?

Do you have the same problem with .tar.gz?

You definitely have to use binary mode, but I don't think that is the issue since you did the MD5 check.

What happens if you simply repeat the download of the same file? For a given file, is the behavior repeatable?
 
  


Reply

Tags
software


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Systems are unable to use IPv6 during file transfer through FTP ahm_irf Linux - Security 2 06-03-2007 05:36 AM
shell script to transfer file from ftp bbgtilak Linux - General 1 12-27-2006 07:35 AM
ftp file transfer sgarci Linux - General 3 09-19-2006 02:41 PM
Using BASH script to transfer a file via (s)ftp senther Linux - Newbie 2 07-19-2005 04:47 PM
FTP file transfer slowing down doctorwebbox Linux - Software 1 08-09-2004 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration