[Django]-Store files in a remote server Django

2👍

If you go throught the docs, FileField#upload_to it’s only to define a local filesystem path.

One thing you can do is: let the user uploads the content normally then when you have it in your filesystem run a process to upload the file to another server, aka your ftp server, you could use the ftplib library to archieve this.

Maybe using Django Storages will ease your work.

👤rscnt

Leave a comment