Sign in to follow this  
EkEk

Uploading file in slow internet connection environment

Recommended Posts

Hello, I'm trying to create an application using C# that zip a file and send to a server computer. I've done this, but because I live in a country that internet is so unreliable, my uploading often to failed. currently i'm using ftp to upload the file, but because internet connection often disconnect for short time, so my uploading is failed. Is there a (free)library that can make sure for a 100% success? maybe something that use for creating a download manager application? thanks...

Share this post


Link to post
Share on other sites
if your internet connection is bad no amount of cool coding is going to guarantee that the file gets there before the connection drops. Back in the day with modems there were upload protocols like z-modem. If your connection dropped you could just reconnect and begin the download where you left off. Something like that is the solution you want to aim at. It would be coding at the packet level where you mark each packet as a progression of the sequence or something so that you know where to start up again when you reconnect.

Google around ("z-modem" "recoverable downloading" etc) and you might find something.

-me

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this