1834763 Members
3128 Online
110070 Solutions
New Discussion

Re: FTP problems

 
joel_40
Occasional Advisor

FTP problems

When we FTP large binary files from HPUX to Windows, the resulting file has a different filesize and checksum.

-- This seems to occur on large binary files, but not consistently the same amount of discrepency;

-- In particular, the file we FTPed most recently was appx 17gig... the Windows copy ended up 8192 bytes (8k) SMALLER than the original file; Another example is a 5.5gig file that becomes 2048 bytes (2k) SMALLER Than the original; Other even smaller files seem to be unaffected

-- Related or not, when we FTP large binary files *TO* Unix, the speed is very slow; The xfer seems to start fast but degrades very quickly to an untolerable speed ... sometimes failing alltogether; Currently the only guaranteed way we have of xferring these large files via FTP is using Windows command line FTP; All of the GUI FTP front-ends we try (including FileZilla) do not work reliably -regardless of whether it's passive or active mode

-- Download speed seems to be reasonably fast and solid, though not nearly fast enough; Downloads of ASCII files are much faster than binary;

-- Our NIC is usually configured to 100meg/Full Duplex; When we upload to Unix, the speed is around 24k/sec. When I change the card to 10meg/Full Duplex the speed increases to appx. 400k/sec. However, at 10meg, our download speed from Unix is too slow to use; We have replaced this card previously in an attempt to fix the overall issue

Ideas? I have attached the output from hpinfo
4 REPLIES 4
Alpha977
Valued Contributor

Re: FTP problems

Hello joel!

I had same problem, but i discover was a switch problem (bad wire connection).
Check if into the switch's log are CRC error on your ports.

Then, try to use FileZilla FTP Client for Windows and select "Automatic file type" when you download the file.

Regards.
Sheriff Andy
Trusted Contributor

Re: FTP problems

Joel,

Could you post the results from your cksum and also your Windows dir results?

I assume that you are using binary to transfer these files over ftp.
joel_40
Occasional Advisor

Re: FTP problems

thanks for the replies - so far, HP has been good about helping me on this - I'm not sure yet since our backup is currently running but the solution SEEMS to be:

1- changing the card to half-duplex (even though I was pretty sure our switch was full-duplex) ... speed is up to about 5.5meg/sec both ways which is reasonable

2- applying patch PHNE_34543 which indicates that ftp and ftpd are affected when xferring files over 2gig - which is exactly our circumstances - will see if the files are OK in the morning and update this post

joel_40
Occasional Advisor

Re: FTP problems

Half-duplex
server-side ftpd was buggy