I have a shared link to a folder with one 20GB zip file inside of it. I am trying to download that file using the .NET SDK. I tried the following
Using dbx = New DropboxClient(accessToken)
Dim link = New SharedLink(url)
Dim folderRes = dbx.Files.ListFolderAsync("", sharedLink:=link).GetAwaiter().GetResult()
Dim fl = folderRes.Entries(0).AsFile()
dbx.Files.DownloadAsync(fl.PathLower)
End Using
this worked to get the FileMetadata but fl.PathLower is null so I could not get the file this way
Then I tried
Dim res = dbx.Sharing.GetSharedLinkFileAsync(url).GetAwaiter.GetResult()
but that didn't work as it's a folder, not a file. I tried getting a link to the file but I only have a preview link so that didn't work either
I am new to the Dropbox API. Can anyone assist me in this?