cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I create a shared link for a file that containing virus?

Can I create a shared link for a file that containing virus?

tritnguyen
Explorer | Level 3
Go to solution

I use the below code to create a shared link of my files. In case if the file containing virus, is the Dropbox API stop it or it is continue to create a share link for that file?

 

listSharedLinksResult = dbxClient.sharing()
.listSharedLinksBuilder()
.withPath(fileId)
.withDirectOnly(true)
.start();
fileUrl = listSharedLinksResult.getLinks().get(0).getUrl();

 

 

Thank you.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

The listSharedLinks functionality does not create shared links; it only lists existing shared links.

 

The createSharedLinkWithSettings functionality can be used to create shared links. If the creation of a link for any particular account/file is not allowed, that will fail with ACCESS_DENIED.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

The listSharedLinks functionality does not create shared links; it only lists existing shared links.

 

The createSharedLinkWithSettings functionality can be used to create shared links. If the creation of a link for any particular account/file is not allowed, that will fail with ACCESS_DENIED.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?