I have a file around 1-50 MB. I want to upload it to my server (website). In my website I don't need to log in, all I have to do is send $_POST informations directly to the main page for the file to begin uploading.
What is the fastest way to upload that file? I'm talking about the connect and upload time, not the time needed to fill informations. Using FTP, the time needed to connect to the host is included.
I've read that using the post method, the file is first uploaded to a temp directory before being copied to a permanent location (which is not considered as upload time).