Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
5 requests per second - server limit
import time
time.sleep(2)
No way.
You can reset the input type=file, you can read files already selected by the user from it, but you can't add anything.
To send to the server, you can use FormData, followed by forwarding using AJAX.
https://developer.mozilla.org/ru/docs/Web/API/Form...
Before using this field, you must do the following in the form:
set the method for sending data POST (method="post");
set the enctype attribute to multipart/form-data.
<form enctype="multipart/form-data" method="post">
<p><input type="file[]" name="f">
<input type="submit" value="Отправить"></p>
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question