php.net |  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
Votes:1
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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: r dot badding at gmail dot com
New email:
PHP Version: OS:

 

 [2009-11-17 23:08 UTC] r dot badding at gmail dot com
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-23 11:20 UTC] chregu@php.net
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.
 [2011-09-27 09:53 UTC] thenextissue at yahoo dot com
What lierbaitng knowledge. Give me liberty or give me death.
 [2011-10-01 14:03 UTC] imautv at uugdsv dot com
qzSz43  <a href="http://zyfrzkqigrpl.com/">zyfrzkqigrpl</a>
 [2017-10-24 09:01 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:01 UTC] kalle@php.net
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] ramsey@php.net
-Status: Suspended +Status: Open -Assigned To: +Assigned To: ramsey
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 14:01:23 2020 UTC