Export Function – URL file Download

Closed

Import WP Updated 8 months ago 5 Replies

Jens asked 2 years ago on March 9, 2023 at 6:40 am

Its possible to add an url to download from external sites, instead only download local Option.

J

James replied Support Agent

2 years ago on March 9, 2023 at 10:35 am

When you export a file, files are stored in the wp-content/uploads/exportwp folder, each file is the exporters id, the id can be found in the url when viewing the exporter.

e.g. https://localdev/wp-admin/tools.php?page=importwp&edit-exporter=74

the export file would be either

https://localdev/wp-content/uploads/exportwp/74.csv
https://localdev/wp-content/uploads/exportwp/74.xml
https://localdev/wp-content/uploads/exportwp/74.json

JG

Jens replied

2 years ago on March 12, 2023 at 7:40 am

Thanks, i found tzhe file. Could you add please an Tigger to export deals automatical at timestamp. for example see in screenshot.
JG

Jens replied

2 years ago on March 14, 2023 at 5:23 am

Thanks. I think it will make your Plugin Bretter, if you implementiert an url to show for All users, if the Export will be done. :)

JG

Jens replied

8 months ago on April 6, 2024 at 5:58 am

Hi James,

 

If you add the download URL, it will be better for users to find the file.

 

So, at the end of the export, include buttons for "Download" and "Download and close." If you place the export URL below the theme, it will be easier for users to see.

 

One more thing... My export works, but when I import it on another site, I notice that the exported file is not the correct version. By downloading manually, I get the right version.

 

When importing with WP Import, I do not get the newest file.

 

Is this an issue, or is it related to WP Rocket?

J

James replied Support Agent

8 months ago on April 6, 2024 at 3:45 pm

The export file that is generated, the one you download is the same as the one on the server, this suggests that it is a wp rocket cache issue, might need to exclude the url from being cached.

The exporter at the moment is very bare bones, i am waiting till i have a solid based before adding extra details such as the file url, e.g. better way to filter queries without using custom code, and other export solutions apart from just generating a file on the server and downloading it.