I can't solve the problem, if anyone knows what it is, please let me know.
I was able to download a PDF file by specifying OneDrive in the cloud, but when I try to open the file, I get an error and cannot open it.
I don't know the name of the file until I download it.
So, I can't download the file from the OneDrive URL and specify the file name under the destination path of the action.
I have tried specifying an arbitrary file name,
I was able to download the file, but when I try to open the file, an error occurs and I cannot open it.
Since the PDF file name is different each time it is downloaded, is it necessary to get the file name from the download source URL before downloading and set that file name to the OneDrive file upload destination?
Below what I would like to check
1. confirm the file name before downloading, download the file from the OneDrive URL, and set the confirmed file name in the destination path of the action.
2. if you cannot get the file name before downloading,
If you cannot get the file name before downloading, how can you download the file from the OneDrive URL and set the file name in the destination path of the action?
The file in the URL is a pdf file that is opened from Edge and downloaded, but we want to download the file directly to OneDrive in the PowerAutomate flow.
The file name changes with each download, so even if I download the file now, it overwrites the file with the previous file name, resulting in a file name inconsistency? I am assuming that the error is that the pdf file cannot be opened due to the file name change.
Also, when I try to get the information of the target url using get in the http action,
The status code is 302, x-xss-Protection is 1;mode=block, and the information cannot be retrieved.