cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API for creating file and writing data into created file

API for creating file and writing data into created file

Ajay_Chawda
Explorer | Level 3

Hello All,

which API should i use to create text file and write data into created file?

for eg.

file name:- sample.txt

file content:- 

"--------------------------------------------------------------------------------------------------"
"No of Lines Present in the file"
"48"
"--------------------------------------------------------------------------------------------------"

 

1 Reply 1

Greg-DB
Dropbox Staff

To upload a new file, or a new version of an existing file, with some particular file data, you can use the /2/files/upload endpoint.

By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?