Originally posted by: SystemAdmin
Hello,
Here the problem, I have a currently a performance problem with FTP. Let say two servers, let say server1 and server2. I've created 10 000 files of 0k on both servers. From server1 I connect via FTP (ftp -i server2) to server2. By using mget, I'm able to download all files without problem. Now from server2 I connect to server1 via FTP (ftp -i server1) and I do an mget of all files. In that case, I'm able to download all the files but the transfer speed is quite erratic. It downloads a bunch of files, stop, continue. It takes like 5-10 times to download the files than the first case. Sometime error appears (not always the same):
00 PORT command successful.
150 Opening data connection for multiplefiles/text{1219}.txt (0 bytes).
226 Transfer complete.
200 PORT command successful.
150 Opening data connection for multiplefiles/text{121}.txt (0 bytes).
226 Transfer complete.
200 PORT command successful.
150 Opening data connection for multiplefiles/text{1220}.txt (0 bytes).
226 Transfer complete.
200 PORT command successful.
425 Can't build data connection: Invalid argument
200 PORT command successful.
150 Opening data connection for multiplefiles/text{1222}.txt (0 bytes).
226 Transfer complete.
200 PORT command successful.
150 Opening data connection for multiplefiles/text{1223}.txt (0 bytes).
If I do an FTP connection from server2 to server2 and I transfer the 10 000 files, I see the same problem. If I do the transfer via SCP, no problem appear in all cases.
If I transfer 5GB of data via FTP from any server to any, there's no problem. The transfer rate is good.
Do you have an idea what could cause this problem?
If it can give an hint, in term of transfer time, it seems that I have the same issue with my DB2 connection.
Thanks for your help.
#AIX-Forum