S
S
SHADRIN2020-06-24 10:13:09
Django
SHADRIN, 2020-06-24 10:13:09

How to upload a file to the VDS server?

There is a simple form for uploading a file to the site, when you click on the "Submit" button, you need to save the file on the VDS server, how to implement it?

<form enctype="multipart/form-data" method="post">
   <p><input type="file" name="f">
   <input type="submit" value="Отправить"></p>
 </form>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-06-24
@shadrin_ss

https://docs.djangoproject.com/en/3.0/topics/http/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question