Mobile app version of vmapp.org
Login or Join
Angela700

: Uploading a file automatically for speed test? I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how

@Angela700

Posted in: #Javascript #Php #Uploading

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test.
I know the basic concept of how speed test works. A file is downloaded for a limited time then the same file is uploaded again and the speed is tracked at regular intervals.

Downloading the file is not an issue, but how am I supposed to upload the file without the client knowing that the file is getting uploaded? I've read through a lot of documentation, but I'm still not able to get the answer to how I will upload the file from clients machine without asking him to select the file.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Instead of a file, you could have JavaScript generate random data and send it to the server using AJAX. Since the data would be generated from a random number generator, there would be no need to have the user choose a file.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme