Jump to content
  • Advertisement
Sign in to follow this  
AcoGL

About FTP

This topic is 4954 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

Hi! Imagine a situation: Person A is uploading a file to the ftp server. In the moment user starts uploading file appears at the server... Person B wants that file. He waits for that file and often comes to see if the file is at the server. If the file is at the server he downloads it. How to ensure for to Person B not to download the not completed file? It must be possible to do it somehow... I would appreciate any kind of help or idea.

Share this post


Link to post
Share on other sites
Advertisement
Why not just store the file in a temp directory until its complete, then move it to the ftp directory and rename it.

Share this post


Link to post
Share on other sites
Well. Yes. You're right. It would work. Is there any other option how to solve the problem? Can I change the attributes of the file to make it unvisible? Or something like that...

Share this post


Link to post
Share on other sites
Well if your writing the FTP server... don't send the file when you get a file list request( cant remember what its called, been a long time since I did anything with ftp) and just send every other file in the dir...

In the even that your not writing your own and useing someone elses... this is a bad place for your post on account of being general programming... however, most will do the above for you I think.

Share this post


Link to post
Share on other sites
Oh, thank you. Now I have noticed that this topic is not situable for General Programming discussion... I apologize for that to all.

Thanks to Arenth for your help.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!