2261 posts
  • Became a Top 20 Author of the Month
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
  • Had an item that was trending
+14 more
revaxarts
says

I’m loading a zip file from a third party server, unzip it, do some stuff with the content and delete the zip file afterwards.

Where’s the best place to save that zip file? Is there a “temp” directory in WordPress for this purpose?

2468 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact
says

Why not simply wp_upload_dir? It’s already there for you, no need to complicate things, right? :)

2261 posts
  • Became a Top 20 Author of the Month
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
  • Had an item that was trending
+14 more
revaxarts
says

Perfect! hope this directory is always writable :)

2468 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact
says

It’s WordPress’ upload directory, so it should be :)

7 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
nabtron
says

ya good advice, if you want to upload sensitive data like sql database for example, store it in the publicly accessible uploads dir so that everyone can access your sql file!

grow up kids!

5356 posts
  • Achieved the monthly Community Superstar Award
  • Created a helpful tool/app using the Envato API
  • Became a Top 20 Author of the Month
  • Had an item that was trending
+19 more
dtbaker
Moderator
says

old thread much?

4458 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+13 more
Ivor
Envato team
says

old thread much?

Yup. Locked.

by
by
by
by
by
by