Jump to content
  • Advertisement
Sign in to follow this  
EkEk

Uploading file in slow internet connection environment

This topic is 4514 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!