I've been reviewing the tutorials regarding HttpUtils2, and I'm struggling a little to understand something.
I can get an individual file downloaded and copied to DirInternal. But with this, I'm selecting an individual file and renaming it as I copy it to DirInternal.
What I need to do is to download many different files (currently dozens, but possibility of hundreds) and maintaining their file names (if it's named a.txt on the web location, I need it to go in to DirInternal and remain named a.txt).
I'm working from a list of file names, and can create multiple jobs to download each file. But in all the tutorials the steps to copy the files to DirInternal are in the JobDone sub and require a step to name the file. Since that's separate to where I'm initiating the download, I'm uncertain how to ensure the resulting file has the same name as the downloaded file.
I'm sure I'm just missing a small detail, but I'm really struggling.
Can anyone give me a hand with this?
Thank you!
I can get an individual file downloaded and copied to DirInternal. But with this, I'm selecting an individual file and renaming it as I copy it to DirInternal.
What I need to do is to download many different files (currently dozens, but possibility of hundreds) and maintaining their file names (if it's named a.txt on the web location, I need it to go in to DirInternal and remain named a.txt).
I'm working from a list of file names, and can create multiple jobs to download each file. But in all the tutorials the steps to copy the files to DirInternal are in the JobDone sub and require a step to name the file. Since that's separate to where I'm initiating the download, I'm uncertain how to ensure the resulting file has the same name as the downloaded file.
I'm sure I'm just missing a small detail, but I'm really struggling.
Can anyone give me a hand with this?
Thank you!