CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> PHP

 File Upload a few stay in temp folder

Print topic Send  topic

Author Message

Posts: 709
Posted: 01/02/2018, 9:08 PM Quote message

I have a system where files can be uploaded to the server. This has been working for several years but every now and again, some of the files do not get to the target folder but are left in it's 'temp' folder. In the form it is possible to select 5 files, each has it's own target and temp folder, and these are uploaded with the Submit button. As an example: say in a month, 1000 files have been uploaded but 60 of these remain in the temp folder.
Any ideas why this is or even a fix?
View profile  Send private message

Posts: 135
Posted: 01/03/2018, 8:08 PM Quote message

I have the same problem. I have not figured out a fix.
View profile  Send private message

Posts: 709
Posted: 01/04/2018, 8:23 PM Quote message

I don't have a fix either. I am just going to write a CRON that moves any files in 'temp' to the target folders once a day.
View profile  Send private message

Posts: 618
Posted: 01/17/2018, 11:50 PM Quote message

Does any part of the form/post handle the files concurrently before processing them individually ?

If so, is it possible the combined sizes are hitting the upload memory or post limit and dropping them ?
Central Coast, NSW, Australia.

Use the EXETA Online Business Valuation Tool to
value your business.
View profile  Send private message

Posts: 709
Posted: 01/18/2018, 8:42 PM Quote message

Never thought of that Michael but you may be right.
Anyway, I am simply checking and moving them with a cron once a day so guess I will leave it as is.
Interesting though! Thanks.
View profile  Send private message

Add new topic Reply to topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.