Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.8k views
in .NET FTP by (240 points)
hello,

i downloaded and tried the edtFTPnet free version. i tried downloading a 1.2GB zipped file. after 45mins the zipped file size is 500MB. so imagine it will take 90mins or more to finish the file. is there a way to speed up the downloading?

thank you very much!
best regards :D

7 Answers

0 votes
by (162k points)
edtFTPnet is actually pretty fast - although .NET being a virtual machine it is unlikely to be as fast as a natively compiled FTP program.

You could experiment with a few settings - put the TransferNotifyInterval property to something very high, e.g. 1 million. Set the TransferBufferSize to say 32000 or 64000.

You've also got the source so if you want to look into it a bit further, try to pinpoint where you think it might be slow. If you can, we'll take a look and fix. We haven't looked at speed for a while so we'll do so again anyway.
0 votes
by (240 points)
hello Bruce,

thank you very much for the information. i will try changing the settings you've mentioned.
i have follow-up question. i left the application downloading the 1GB file last night.
when i come back this morning the application freezes but the file downloaded successfully.
am i missing something?
thank you very much again.

best regards. :)
0 votes
by (162k points)
This can be a bit of a problem with large downloads - the server has timed out the connection, but the data transfer completes. The only solution is to increase the server timeout for connections. See if tweaking those settings improves the speed.
0 votes
by (240 points)
hello Bruce,

i tried increasing the server timeout for the connection but still the same problem. i found out that the application freezes in this line of code of the FTPControlSocket class;

internal virtual FTPReply ReadReply()
{
string line = reader.ReadLine(); ----> freezes here...
....
....
}
regards
0 votes
by (162k points)
This means the server is not replying when the transfer is completed. Check the server logs for more info, and make sure the server timeout is longer than the time taken to do the transfer.
0 votes
by (240 points)
hello Bruce,

thank you very much for the information.
i tried setting the server timeout longer than the time taken to do the file transfer and it still freezes on the same line of code.

regards :)
0 votes
by (162k points)
See if the server logs tell you any more. The line that it is stuck at is reading the server's reply - for some reason it isn't replying when the transfer is completed. You could try swapping from active to passive mode or vice versa to see if that helps.

Categories

...