When pointing to a file - it's name is either already mentioned in the url or will be suggested by the server (for cases when a file is generated by a query).
Thus, it's not really necessary to specify the destination of the file to be downloaded: currently, you already can omit the path for destination file - (%A_WorkingDir% will be used in this case), but you can't omit the destination file's name, which is uncomfortable if you'd like to preserve the one from the source, but don't want to SplitPath.
Make 3rd param unnecessary for "UrlDownloadToFile" command
Make 3rd param unnecessary for "UrlDownloadToFile" command
question := (2b) || !(2b) © Shakespeare.
Re: Make 3rd param unnecessary for "UrlDownloadToFile" comma
The 3rd param is already unnecessary. I mean, URLDownloadToFile only has two parameters...
URLDownloadToFile isn't aware of what name the server suggests. If you want to have the filename based on the URL, you can always write your own Download function which calls URLDownloadToFile.
When automating the download of a file, wouldn't you generally want to know for sure where the file is going to be written, so that you can do something with it? If you let the command decide the name, you won't know.
URLDownloadToFile isn't aware of what name the server suggests. If you want to have the filename based on the URL, you can always write your own Download function which calls URLDownloadToFile.
When automating the download of a file, wouldn't you generally want to know for sure where the file is going to be written, so that you can do something with it? If you let the command decide the name, you won't know.
Who is online
Users browsing this forum: No registered users and 61 guests