URLDownloadToFile failing

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
julesverne
Posts: 42
Joined: 18 Apr 2017, 14:39
Contact:

URLDownloadToFile failing

01 Apr 2021, 16:53

I have a link (it's private so i can't share actual link), but the link has a single apostrophe (quote) in it, as demonstrated below:

Code: Select all

UrlDownloadToFile, https://fake.com/videofile's.mov,C:\download\videofile.mov
If I use any browser it will download without fail. It fails however with UrlDownloadToFile. Is this a known bug? If it is, it's not in the docs.

Does anyone know a way around it? I tried escaping using a backtick and also using another single quote in front of it. Neither worked.

Thanks in advance!
Jules
User avatar
boiler
Posts: 17206
Joined: 21 Dec 2014, 02:44

Re: URLDownloadToFile failing

01 Apr 2021, 17:07

See if this helps:

Code: Select all

UrlDownloadToFile, % "https://fake.com/videofile's.mov", C:\download\videofile.mov
julesverne
Posts: 42
Joined: 18 Apr 2017, 14:39
Contact:

Re: URLDownloadToFile failing

01 Apr 2021, 18:59

@boiler so.. arghh.. it was definitely user error. so annoyed. sorry. :headwall: Thank you for your help still, I wouldn't have figured it out without you pointing out that idea. so not a complete waste. Much appreciated it.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: CoffeeChaton and 164 guests