I need to be able to create a Powershell script, that will download the latest file from a folder in DropBox. Each day it will need to run to get the very latest file. Currently, there are hundreds of files in the folder, so I just need to download one file.
I can get connected to Dropbox with my script.
Any help will be appreciated.
I have tried a script that will download the entire folder, but that times out since there are so many files in the folder.
I found the way to do this:
wget -Uri https://www.dropbox.com/home/FolderName/$Filename?dl=1 -d -OutFile "c:\temp$FileName" -Verbose
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.