- artinthehillsAsked on February 25, 2018 at 05:22 AM
My form uses an Image Upload widget. With my browser I can download images using the URL captured in the form submissions. When I try to use wget to download the same image it fails with a 404 error.
What can I do to download images from jotform with wget?
Example image that downloads fine with browser:
Example of fail on the same image using wget request:
rupert@DESKTOP-UGLVHKU:~$ wget https://www.jotform.com/widget-uploads/imagePreview/72930889028871/f9a1d65A7B5CFAC-76B1-4A8C-9C6B-566C5C0B9621.jpeg
--2018-02-25 21:01:19-- https://www.jotform.com/widget-uploads/imagePreview/72930889028871/f9a1d65A7B5CFAC-76B1-4A8C-9C6B-566C5C0B9621.jpeg
Resolving www.jotform.com (www.jotform.com)... 188.8.131.52, 184.108.40.206, 2400:cb00:2048:1::6817:8406, ...
Connecting to www.jotform.com (www.jotform.com)|220.127.116.11|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-02-25 21:01:19 ERROR 404: Not Found.
- MarvihAnswered on February 25, 2018 at 06:34 AM
On your Account Settings https://jotform.com/myaccount/settings can you please try Un-checking "Require log-in to view uploaded files." in the Privacy tab.
That option might be blocking you from downloading the file using wget command since you are not logged in.
- MarvihAnswered on February 25, 2018 at 06:48 AM
I was able to download this file https://www.jotform.com/widget-uploads/imagePreview/80552580336961/1be301dJformsupport.png using wget binary on my Windows PC.
- artinthehillsAnswered on February 26, 2018 at 04:09 AM
Thanks so much. That setting change and fixed it and I have confirmed I can download with wget. Thanks again.
- JotForm SupportJohn_BensonAnswered on February 26, 2018 at 09:03 AM
Thank you for taking the time updating us on the status and letting us know all is good now.
Please don't hesitate to contact us again anytime should you require further assistance.