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?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20375 |

    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.

     Best regards,

     Andrew

     

     

     

    Imported from legacy forums. Posted by Andrew (had 1260 views)

    User (Old forums)
    Member
    Post count: 23064

    Just find the solution:

     Xceed.Zip Assembly > Xceed.Zip Namespace > ZipArchive Class : DefaultTempFolder Property

    Imported from legacy forums. Posted by Andrew (had 998 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.