Synapse API page only describes how to create a folder. I would guess it is different if the project and folders exist and data is uploaded later.
EDIT:
here is what I figured out so far:
1. On the web interface, File tab, find the ID to the right side of the folder you are going to upload files to
2. It should look like syn10868888. Use this ID to refer to the folder (following in python)
```
import synapseclient
syn = synapseclient.Synapse()
syn.login(email='username',
apiKey='apikey-from-your-profile-setting-page')
folder = syn.get("syn10868888") # replace this with the folder ID you copied earlier
for f in filelist:
data = synapseclient.File(f, parent=folder)
data = syn.store(data)
```
Check your folder and see if files are upload properly.
Now, if someone can figure out how to do:
1. list folder content
2. delete files
3. rename files
Created by Xiaoyu Liu xliu Dear @xliu ,
Thanks for your question. There is documentation [here](http://docs.synapse.org/articles/getting_started.html#organizing-data-creating-files-and-folders) on how to work with files and folders.
In addition, the [API documentation](http://docs.synapse.org/python/) for python provides explanation of the delete commands.
Drop files to upload
Could someone please clarify how to upload files to an existing folder through API page is loading…