How can I make a batch file that downloads a file from Dropbox?
            Asked
            
        
        
            Active
            
        
            Viewed 1,748 times
        
    -2
            
            
        - 
                    why is the repeating? – npocmaka Jan 07 '17 at 20:48
- 
                    Welcome to SO, please read http://stackoverflow.com/help/how-to-ask – Carsten Løvbo Andersen Jan 07 '17 at 20:48
1 Answers
1
            
            
        If you have a shared link you can use any command line http client. Here's example with winhttpjs.bat with a link from my dropbox :
winhttpjs.bat "https://dl.dropboxusercontent.com/u/96959329/wtime.bat" -saveto wtime.bat
If you want to use user name and password you can try with:
winhttpjs.bat "https://www.dropbox.com/home/folder?preview=my.file" -saveto my.file  -user someone@mail.com -password superSecretPass
though you need to click on the file you want to see the link.
Check also this
- 
                    1This might work with direct links however dropbox share links are not direct. the file will be saved with html code in it. A solution would be to use a direct link generator such as http://syncwithtech.blogspot.com/p/direct-download-link-generator.html – Mark Deven Aug 15 '18 at 16:23
 
     
    