Hello, I'm trying to make a basic program which upload a picture into dropbox(that part is fully working) and then it give that picture public url in order to download it.
I use the following code to get that url :
private void GetRessourceURI()
ICloudDirectoryEntry fEntry = m_DropBoxStorage.GetFolder("/public");
ICloudFileSystemEntry fs = m_DropBoxStorage.GetFileSystemObject(m_RessourceFileName, fEntry);
m_RessourceURI = DropBoxStorageProviderTools.GetPublicObjectUrl(m_AccessToken, fs);
// m_RessourceURI = m_DropBoxStorage.GetFileSystemObjectUrl("/" + RessourceFileName, m_DropBoxStorage.GetFolder("/"));
catch (SharpBoxException AnyException)
when the program is running i get the following link :
, but when i want to use the link dropbox give a 404 error i tried to get the link with GetFileSystemObjectUrl but it give me a temporary URI that i cannot use.
I'd like to do the same thing as dropbox "share file" feature.
Can someonehelp please
Thank you for reading =)