The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Fast Data Transfer 0.9.1 (Default branch) iBot Software Releases - RSS News 0 04-23-2008 12:50 PM
FTP - Data Transfer Limitations. system-admin AIX 2 12-20-2006 12:11 AM
Data transfer from DB2 to Sybase using Perl? rajus19 Shell Programming and Scripting 1 07-08-2006 10:23 PM
Data Transfer programs in IPC Mechanisms?? boris35 UNIX for Dummies Questions & Answers 2 05-26-2005 09:12 AM
How much data will transfer at 100 full 98_1LE UNIX for Dummies Questions & Answers 3 10-05-2001 06:48 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-22-2003
malcom's Avatar
Registered User
 

Join Date: Jul 2003
Location: Germany
Posts: 78
data corruption with ftp transfer

Hi again,

first of all thanks for you help on my last problem, the problem is solved now.

But I have many problem
This time, I transfered a big file, ~3,5 GByte, with ftp from a Sun machine to a linux box, RedHat 7.3. But the file recieved on the Linux Box is corrupt, with smaller files there is no problem, I tested it with a 130 MB file.

On the Linux Box I am using the default wu-ftpd server, with default configuration.
Only the server timeout was set by me to 24h.

thnx and best regards
Alex
Forum Sponsor
  #2  
Old 07-22-2003
Registered User
 

Join Date: Jan 2002
Location: Florida
Posts: 84
What type of file is this large file? Are you using the correct file transfer type (ascii versus image)? What version of Solaris?

Is the ftp completing or failing while transmitting?
  #3  
Old 07-22-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,656
Is it stopping at exactly 2GB? This could also be a large file problem.
  #4  
Old 07-22-2003
malcom's Avatar
Registered User
 

Join Date: Jul 2003
Location: Germany
Posts: 78
Hi,

The file transfer runs without error messages, only afer the finished transfer you see a broken file.

The files are data files, and the sun system is SunOS 5.8.

We are using binary mode with ftp.

Alex
  #5  
Old 07-22-2003
s93366's Avatar
Registered User
 

Join Date: Apr 2002
Location: Sweden
Posts: 159
Is the filesize the same on both systems after the ftp is completed? if not how much are you missing?

If its the same filesize try using md5 sums to ensure that its really corrupt on the linux box so you dont have any other strange problems?

Just a tought..

/Peter
  #6  
Old 07-22-2003
malcom's Avatar
Registered User
 

Join Date: Jul 2003
Location: Germany
Posts: 78
more informartion

- No the corruption of the file is not anytime at the same place.

- The filesize has on both, the source and destination the same size, when you check the file with md5 you can see that the files are different.

- If you look into the file, using a hex editor, you see a lot of zeros or parts of other files in the corrupt file.
  #7  
Old 07-23-2003
s93366's Avatar
Registered User
 

Join Date: Apr 2002
Location: Sweden
Posts: 159
I had a problem just like that once.. the strange thing that we found was that the disk was broken. fsck didnt report any errors..(If you havent runned fsck on the disk you should try that) but if we did a copy of the corrupted file and did a md5 check against the original it didnt match.. that was one wierd problem.. You could give it a try.. copy the file to the same disk under a diffrent name an d md5 check it.. or make the sun ftp the file to another disk on the linux box and see if the file still gets corrupted.

sounds like you have a corrupt disk..
/Peter
Google The UNIX and Linux Forums
Closed Thread

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0