[BangPypers] Django FTP

Gora Mohanty gora at mimirtech.com
Tue Jul 1 09:36:04 CEST 2014

On 1 July 2014 12:58, Anand Reddy Pandikunta <anand21nanda at 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.

Use ftplib to download the file. It is not completely clear what you mean by
"download securely", but ftplib will handle ftps. If you need sftp,
i.e., ftp over
SSH, use paramiko.

You should also use an offline task processor like Celery, rather than trying to
download a 10GB file in a web request.


More information about the BangPypers mailing list