Transients seem to be appropriate storage. Just note that if you will generate a lot of this and they will be disposable then you will need to cleanup old transients.
As for your cURL/filename issue – it is bad practice to use cURL directly in WordPress. WP provides HTTP API that abstracts remote requests.
Unfortunately it is bit poorly documented. As far as I understand you pass cookies in arguments array with cookies
key to its functions.
Related Posts:
- I found this in a plugin. What does it do? is it dangerous?
- Keep one user logged for a year?
- Disable saving comment details (name, e-mail) in cookie?
- Passing .pem and .key files in cURL doesn’t work in WordPress
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Detecting $_GET parameters from any page + Cookie
- Set cookie then immediantly refresh the page
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Popup Cookie WordPress select language and section (Elementor)
- Do We Need to Validate, Sanitize, or Filter Simple Numerical Superglobals (Cookies and Post)?
- Why is my staging subdomain not sending wordpress_logged_in cookies?
- How to delete Passwrd Protected posts cookies when a user logged out from the site
- How to save generated JWT token to cookies on login?
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- User Session and Stored Cookies not get removed
- Where does the cookie mo_page_views_counter come from?
- How can i get the post’s full html source by its ID?
- How to handle cookies from a WordPress plugin on a cached page?
- Login cookies set as wrong domain
- add_action in a custom plugin
- Displaying content based on drop-down menu selection sitewide
- Blurry images when loading the page first time
- Error: Can´t access facebook comment plugin admin page
- Cookies set by a plugin in wordpress for tracking
- Codeless random token generation to pass into multiple tracking links in a single page load
- Using file_get_contents within admin but keep logged in
- Identify User Language, Redirect to the corresponding page and Save the chosen language as Cookie
- Cookie value changes back to previous value after changing
- Display value of the GET parameter in a new URL page
- Block Google tracking on refuse consent of the user with plugin
- Installation failed: 504 – Gateway Timeout
- Hide response returned from WordPress REST API call
- WordPress Admin login redirect to homepage
- How can I store user preferences in WordPress and retreive them later?
- WordPress delete cookie
- Why does WordPress use cookies for /wp-admin and /wp-content/plugins for non-admin users [duplicate]
- Implementation to count page visits of unique visitors based on a cookie
- admin-ajax.php not working properly on subdomains
- Cookie set in a plugin visible in admin but not on front
- How can I save cookies to members
- set cookies for my whole site is not working
- Undefined constant error in pluggable.php
- How to resolve these findings from security audit
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- How to delete Password Protected posts cookies when a user logged out from the site
- cURL External API request displays content above other content on page
- Stop the user if login from the cookies
- Hide prices and checkout functionality in woocommerce
- How to get a variable number of posts per post type on the main loop?
- How To Determine If A Filter Is Called In A Sidebar/Widget Context?
- Difference between deactivating, uninstalling, and deleting plugins
- plugin get value from admin panel page
- WordPress network: set themes and plugins for new blog
- How can I get a list of plugins and which blogs are using them?
- How WordPress autosave can save plugin fields?
- Custom Text Under Navigation Links
- How do I know which plugin uses the most resource?
- Set a category for a page
- force customers to add only single item to card per purchase EDD [closed]
- How to obtain page breadcrumb based on menu structure only?
- 404 Error on Activate / Deactivate Plugin
- Weird lightbox phenomenon [closed]
- How to Use Parameters with a Do_Action Function Within PHP Tags
- Landing Page Redirect Chain | http->https->https www
- Reduce Drop down Menu Width in WordPress
- issues with wp_enqueue_script in my plugin
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- How to inform the user that the save was not successful?
- php page not found for plugin options menu
- Plugin to create forms using HTML [closed]
- Call plugin with php function
- Render content of multiple pages and their descendants
- Overriding post’s font-family
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- WordPress Custom Pages that work with Plugins?
- Sending HTML email containing custom fields to site users from WordPress
- Plugin – Admin menu page broken url
- Hide DIV if empty – Plugin Gallery
- Retrieve Plugin Settings and insert into XML string
- Linked pages from plugin on front can’t see $wpdb
- Defining the value of a variable before a function?
- What archive plugin works with W3 total cache? [closed]
- Theme deactived html and css styling on home page posts
- Error datatable whit ajax
- My plugin runs on every single WordPress page, but I want it to run only on activation
- Can’t Edit Row Layout on SiteOrigin Plugin
- Create dynamic / data driven pages in wordpress
- Cron jobs in wordpress
- Plugin sending emails to external addresses, not internal
- Passing variable from template file to the plugin file
- Choose default template for a page with code
- How to display post by date written (1974) and not date published (today)?
- Issue of page width with twenty fourteen theme
- Adding google authenticator and use only email address of user
- How to Batch Upload .docx Files as Posts
- WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?
- Rewrite rule help for gallery plugin
- Is there a WP-Plugin to convert PNG to GIF? [closed]
- WP Members additional fields on user profile [closed]
- How do I edit a plugin’s core properly?