HTTP > Get a file: variable as the filename
complete
Daniel Roberts
At the moment files are only downloaded according to their filename in the path of the URL. However there are many usecases where you want to rename the file in the process. The only way I can see of doing that is via an FTP service, which is expensive. It would be great if you could apply a variable as the filename to apply.
Log In
Tereza Klobouckova
complete
Hello Daniel Roberts,
this is already natively supported in upload modules.
When uploading the file somewhere else, you can always define the new file name together with mapping the file data.
Thank you and happy automating
Tereza
Daniel Roberts
Yes, this gets the file, but what if you want to rename it to something different when it is downloaded?
Michal Máša
Daniel Roberts: It depends on the module in which you use the file. For example in "Drobox > Upload a file" module you would tick the "Map" option in the "Source file" field and then change the filename in the "File name" field as you see fit.
Michal Máša
You can insert an item containing the filename in the URL like this:
Michal Máša
Which module do you use to process the file outputted from the "HTTP > Get a file" module?