Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
jorge_ricardopc
7 years agoHelpful | Level 5
Deshabilitar opcion de descarga al compartir una carpeta con api de dropbox
Hola:
Estoy haciendo pruebas con una cuenta de paga profesional, y al crear el sharedlink de una carpeta, siempre me muestra la opcion de descargar contenido.
¿se puede crear un sharedlink deshabilitando la opcion de descarga de todo su contenido y que solo sea para visualizar?
Ahorita estoy creando el link de esta forma:
var sharedLinkSettings = new SharedLinkSettings(visibility, request.Password, date,
LinkAudience.Public.Instance,
RequestedLinkAccessLevel.Viewer.Instance);
var sharedLink = await client.Sharing.CreateSharedLinkWithSettingsAsync(PathDisplay, sharedLinkSettings);
Pero el boton de descargar siempre aparece, ya me di cuenta que desde la interfaz de dropbox si tengo la opcion de poder deshabilitar la opcion de descargar al compartir un archivo o carpeta (y si funciona, no me deja descargarlo), pero ¿como hago lo mismo desde la api de dropbox?
Gracias.
3 Replies
Replies have been turned off for this discussion
- Greg-DB7 years ago
Dropbox Community Moderator
Desafortunadamente, la API de Dropbox actualmente no ofrece la capacidad de establecer un enlace para no permitir descargas, como las ofertas del sitio web, pero pasaré esto como una solicitud de función. Sin embargo, no puedo prometer si eso podría implementarse.
---
Por favor disculpe nuestras traducciones. Nuestras traducciones fueron creadas usando un traductor en línea. Nos gustaría admitir todos los idiomas, pero actualmente no estamos equipados para hacerlo. Aquí está la versión en inglés:
---
Please excuse our translations. Our translations were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:
---
Unfortunately, the Dropbox API doesn't currently offer the ability to set a link to disallow downloads, like the web site offers, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- jorge_ricardopc7 years agoHelpful | Level 5
Muchas gracias por la respuesta, voy a valorar si Dropbox es lo que necesito para mi aplicacion, hasta luego.
- Greg-DB5 years ago
Dropbox Community Moderator
La API de Dropbox ahora admite habilitar / deshabilitar la restricción de descarga en un enlace compartido a través de la
SharedLinkSettings.AllowDownloadcon losCreateSharedLinkWithSettingsAsyncyModifySharedLinkSettingsAsyncen el SDK de .NET.
-----------–
Disculpa la calidad de la traducción. Hemos utilizado un traductor en línea para crear las respuestas. Nos gustaría poder ofrecer nuestros servicios en todos los idiomas, pero nuestros recursos no nos lo permiten. Esta es la versión en inglés:
-----------–
Please excuse our translations. Our responses were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:
-----------–The Dropbox API now supports enabling/disabling the download restriction on a shared link via the
SharedLinkSettings.AllowDownloadsetting with theCreateSharedLinkWithSettingsAsyncandModifySharedLinkSettingsAsyncmethods in the .NET SDK.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!