Home › Forums › .NET libraries › Xceed Zip & Real-Time Zip for .NET › How to specify the temporary path in which the temporary zipped file is created?
We have an application zipping a user folder to 10M size splitted zipped files. The application is running on Window 2003 server.
I notice class ZipArchive first create a temporary file under [%UserProFile%]\Local Setting\Temp, and then create the splitted zipped files in target.
The problem is [%UserProFile%]\Local Setting\Temp is always in C: drive and not much free space. When zipping a folder over 10G, it always failed.
Can we change the path in which the temporary file is created?
I am looking forward to your answers.
Imported from legacy forums. Posted by Andrew (had 1260 views)
Just find the solution:
Xceed.Zip Assembly > Xceed.Zip Namespace > ZipArchive Class : DefaultTempFolder Property
Imported from legacy forums. Posted by Andrew (had 998 views)