Print Page | Close Window

Buildup of exported csv files and UPS labels

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2352
Printed Date: 26-February-2025 at 11:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Buildup of exported csv files and UPS labels
Posted By: cpgmar
Subject: Buildup of exported csv files and UPS labels
Date Posted: 15-January-2009 at 6:47pm
I was wondering what other folks are doing about what happens with files that are saved to the server such as when export reports are run and saved as csv files or when UPS and Fed Ex labels are run and their printable images are saved to the server.  We run approximately 300-400 labels per week during our busy season and this can create a lot of files.  I am sure I am not the only one having this problem.

Over time, these files build up and although I can go in and manually delete them from my own site, other clients of mine do not access their site except through control panel.  We can purge credit card data for old orders but how do we purge these old files? 

By the way, I am suspicious that "internal server errors" are occurring because of the build up of these files.  It takes longer for file access and I think timing out occasionally.


-------------
Cindy

The Tasteful Garden

www.tastefulgarden.com



Replies:
Posted By: Greg Dinger
Date Posted: 23-January-2009 at 2:49pm
We have created a tool that allows the merchant to easily delete older shipping label files from the "pcadmin/FedExLabels", "pcadmin/UPSLabels" and "pcadmin/USPSLabels" folders.
 
You may set the "number of days to retain labels" as a system setting, then whenever you wish to do so simply select the "shipping label purge" menu option.  A list of the files that are about to be deleted will be presented, you click the submit button, and the files are instantly deleted.
 
If anyone wishes their own copy of this code, click here for details: http://www.greybearddesign.com/productcart/shipping-label-purge/ - http://www.greybearddesign.com/productcart/shipping-label-purge/
 


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: cpgmar
Date Posted: 23-January-2009 at 3:18pm
Thanks Greg, it works great!Clap

-------------
Cindy

The Tasteful Garden

www.tastefulgarden.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net