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?

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.