Quick FTP Question

Associate
Joined
28 Dec 2002
Posts
2,400
Location
Northern Ireland
Hi guys,
I have been trying out transferring large files through ftp over the past few days but i keep getting the same problem.

After about 100MB or so the connection drops and nothing else is downloaded.

I am running Serv-u FTP on the server about 5 mile from where i live, and then on my laptop i am running smart ftp as the client software to download and upload the information.

What could be causing this? I checked the settings on the server and reset the idle time out to its maximum was originally at 10 mins now at something like 16667.

ace
 
Have not touched FTP for ages, but anyway

Are you behind a NAT router?
it's possible the router is doing a **** poor job at FTP connection tracking.

Is it a really big file that is downloading when the connection bombs out?
Are you using PASV mode?

Maybe check the FTP client preferences for 'send keep alive' options or something like that.

My line of thought is that it's possible that if it's a big file transferring the control connection will not be in use, and so the router will close it (TCP timeout) and so will close all FTP conntrack dynamic FTP data ports too (FTP Uses out of band control) which will kill the connection. Keep alives from the client should IIRC be sent as FTP commands down the command connection, keeping the router happy and the ports open.

//TrX
 
Back
Top Bottom