Forum Discussion

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Si vous voulez lire le contenu de programmation fichier directement à partir d'un lien de partage comme cela, vous aurez besoin de modifier légèrement le lien pour un accès direct. Vous pouvez trouver des informations sur le faire ici:

    https://www.dropbox.com/help/201

    Par exemple, si vous changez ce lien:

    https://www.dropbox.com/s/7db889gerw0bdqe/LigueSMS.xml

    dans ce:

    https://www.dropbox.com/s/7db889gerw0bdqe/LigueSMS.xml?raw=1

    vous pouvez télécharger le contenu de fichiers en utilisant une requête GET normale, aussi longtemps que vous suivez les redirections.
    -----------–
    Veuillez nous excuser pour la qualité de ces traductions. Nos traductions ont été créées par un outil en ligne de traduction automatique. Nous aimerions proposer nos services dans plus de langues, mais actuellement nous ne pouvons matériellement pas le faire. Voici la version en anglais :
    -----------–
    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:
    -----------–

    If you want to programmatically read the file content directly from a share link like this, you'll need to modify the link slightly for direct access. You can find information on doing so here:

    https://www.dropbox.com/help/201

    For example, if you change this link:

    https://www.dropbox.com/s/7db889gerw0bdqe/LigueSMS.xml

    into this:

    https://www.dropbox.com/s/7db889gerw0bdqe/LigueSMS.xml?raw=1

    you can then download the file content using a normal GET request, as long as you follow redirects.

About Dropbox API Support & Feedback

Node avatar for 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!