|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58954 Status of completed files
Submitted: 2009-11-17 23:08 UTC Modified: 2020-01-26 01:02 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: r dot badding at gmail dot com Assigned: ramsey (profile)
Status: Assigned Package: uploadprogress (PECL)
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
32 - 20 = ?
Subscribe to this entry?

 [2009-11-17 23:08 UTC] r dot badding at gmail dot com
Sometimes the files are so small, or the net connection is 
so fast, that the file gets uploaded before any info can be 
retrieved from the progress module. In these cases the 
progress info will be null, and there is no way of knowing 
whether the file has been uploaded or it is still starting 
to getting uploaded.

Well, the above is not entirely true, When the file upload 
has ended, the upload script could indicate (with 
Javascript) that upload is done, but there are problems with 
that: output buffering:

"Several servers, especially on Win32, will still buffer the 
output from your script until it terminates before 
transmitting the results to the browser. " etc...

So. In order to get timely response about the status of the 
upload, it would be best to get the info from the progress 
meter: whether the file has been actually uploaded. 

A new flag (in the return data by uploadprogress_get_info) 
or something like that would do the job, I think. That wold 
mean that the temporary file would need to be preserved for 
a while, at least, and not deleted instantly.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-23 11:20 UTC]
You're not the first one with this feature request. It needs some sort of Garbage Collection like eg. in the Session module. 

No idea, when and who's gonna implement this.
 [2017-10-24 09:01 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 09:01 UTC]
This package has not had any releases for 6 years, so I'm gonna suspend it, any new maintainer that decides to pick this up can re-open this ticket.
 [2020-01-26 01:02 UTC]
-Status: Suspended +Status: Open -Assigned To: +Assigned To: ramsey
 [2022-11-26 05:40 UTC] kaminajshsg23 at gmail dot com
I am having a same bug I am still want to know more about.
 [2022-11-26 05:44 UTC] kaminsjabsri32 at gmail dot com
Thanks for sharing that.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 00:01:24 2023 UTC