CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 File Upload a few stay in temp folder

Print topic Send  topic

Author Message
saseow

Posts: 716
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?
Thanks.
View profile  Send private message
laneoc

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

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

Posts: 716
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
MichaelMcDonald

Posts: 627
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.

www.exeta.com.au
View profile  Send private message
saseow

Posts: 716
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 http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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