FTP_SERVER_HOST="192.140.252.57"
FTP_SERVER_USER=ftpshamim
FTP_SERVER_PASSWORD=ftpshamim123
File upload API endpoint:
http://YOUR_DOMAIN.com/file-upload/image/
Field Name:
file
- Clone / Download the project in your local pc
- Create a virtual environment (optional) inside the project dir or the parent directory
- Run
pip install -r requirements.txt
inside project directory - Create a file named
.env
- Put the ftp credentials in that file like the mentioned demo
.env
- Run
python manage.py runserver
- Thats it ! Upload your file via the specified api endpoint (
/file-upload/image/
)