Forum Discussion

Sam S.6's avatar
Sam S.6
Explorer | Level 4
4 years ago

API endpoint to create symlinks

Currently, the Dropbox API will tell you if a remote file is a symlink and where it points to in the "symlink_info" field of the "FileMetadata". This is useful to know so we can either skip that file during download or create a corresponding local symlink.

 

However, the reverse does not seem to be currently possible: How do we create a symlink entry in the remote Dropbox folder? `files/upload` or `files/create_folder` are the only API endpoints that allow creating entries on the server and neither of them appears to support creating symlinks. Have I overlooked something or this currently just not possible?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The API doesn't offer the ability to programmatically create symlinks, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 3 hours ago
352 Following

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 or Facebook.

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!