Hi Anand, Tasks which take significant time such as downloading a file should be kept out of the normal request-response processing. I suggest using an asynchronous task queue like Celery <http://www.celeryproject.org/> for this. Once the form is found to be valid, you can start a Celery task to download. When the download completes you can inform the user by email or a polling web page.
Regards, Aryn On Tue, Jul 1, 2014 at 12:58 PM, Anand Reddy Pandikunta < anand21na...@gmail.com> wrote: > Hi, > > In one Django App, I've created a simple form. It has URLField, where user > enters FTP url. As soon as user submits the form, I have to download the > file and save it our servers. File size: ~10gb. Need to download securely. > > I am new to Django. Any help/resources is highly appreciated. Thank You! > > -- > - Anand Reddy Pandikunta > www.avilpage.com > www.quotes160.com > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers