Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to retrieve the file from dropbox and save it on local system

Hi,

 

Can anyone help me on below scenario. Appreciate your kind help.

 

How to retrieve the file from dropbox and save it on local system?

 

Thank you!

Labels (2)
16 Replies
Anonymous
Not applicable
Author

Try 1 Output is:
The job is not working and found below error in code.
row1.content = downloader_tDropboxGet_1.getInputStream();
row1.fileName = downloader_tDropboxGet_1.getResult().getName();

Try 2 Output is:
Getting an error in console like
/Dropbox/Excel2.xls is not a valid file path on Dropbox

I think the problem is in 'Path'. I had tried with different paths but not succeed.
akumar2301
Specialist II
Specialist II

for Try 2 ,

 

Path  should be path on DropBox server not your Local Drive Path.

 

Path is the path on when you created the Application Access Tocken. Did you select "App Folder" or "Full DropBox") ?

fdenis
Master
Master

your Dropbox path is strange!!!
it may start by Http or / but c:/ is strange
Anonymous
Not applicable
Author

Now I have used below path:
https://www.dropbox.com/home/Excel2.xls

Output :
java.lang.IllegalArgumentException: String 'path' does not match pattern
Anonymous
Not applicable
Author

I have selected "Full Dropbox".
akumar2301
Specialist II
Specialist II

It is issue with rootpath directory . We are not sure which path is "/"

 

can you please try with "/Excel2.xls"

 

Otherwise List  the files and check which folder "/" and check which path is rootpath. 

Anonymous
Not applicable
Author

Great!
It works.
Thank you so much Abhishek.