Hi everyone, I tried saving a pdf from a web into the local file using the write file option but i encountered access denied. Anyone can advise on this? Thanks for the help.
2 posters
Saving pdf file
ManHouw- Posts : 5
Points : 2061
Join date : 2018-08-13
- Post n°2
Re: Saving pdf file
Hi,junwei wrote:Hi everyone, I tried saving a pdf from a web into the local file using the write file option but i encountered access denied. Anyone can advise on this? Thanks for the help.
I'm not sure what is the root cause for the "Access Denied" error but I have a workaround.
Store your PDF in a variable with "Extract URL" step, then load the variable in "Extract Target" step.
In "Extract Target" step, you may specify your directory to save the file.
Hope it helps.
Regards,
Man Houw
junwei- Posts : 16
Points : 2015
Join date : 2018-10-16
- Post n°3
Re: Saving pdf file
Hi ManHouw, thanks for the help. Managed to get it working, appreciate it.