Jump to content

[SOLVED] Determining tmp filename in advance while the upload is still in progress


name1090

Recommended Posts

    is there a way to determine the tmp-filename of a file upload while the upload is still in progress?

 

 

  I know that the tmp-file is stored in /tmp and it's name is something like PHPXXXXXXXX.

 

    what i would like to do is:

    i want to upload a file via a html-form and while the upload is in progress make repeatedly ajax-requests to a php-script on the server that replies the size of the tmp file (the amount of data that was already uploaded). So in this script i need to know what the tmp-filename is.

 

How can we get the tmp filename in advance when the upload is not yet finished?

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.