403 forbidden when trying to wget the export link
-
I’m trying to download data using a wget (using the cfdb export link) shell command executed on a local server so that I can schedule it.
It’s returning 403 currently. The same link works OK if pasted into a browser on my PC.
I have tried to add to the Wordfence whitelist per the FAQ but no difference.
I’m a Linux noob so its possible I’m doing something wrong there, but if I’m interpreting the error correctly it seems to be permissions on my hosted server/Wordpress install?
wget "https://MY_HOSTNAME.COM/wp-admin/admin-ajax.php?action=cfdb-login&cfdb-action=cfdb-export&form=*&enc=xlsx&l=<LOGIN CREDENTIALS REMOVED>" --2016-10-03 15:48:09-- https://MY_HOSTNAME.COM/wp-admin/admin-ajax.php?action=cfdb-login&cfdb-action=cfdb-export&form=*&enc=xlsx&l=<LOGIN CREDENTIALS REMOVED> Resolving MY_HOSTNAME.COM... <IP ADDRESS REMOVED> Connecting to MY_HOSTNAME.COM|<IP ADDRESS REMOVED>|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2016-10-03 15:48:10 ERROR 403: Forbidden.
Any suggestions?
Thanks
Stuart
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘403 forbidden when trying to wget the export link’ is closed to new replies.