Create a Repository File with Content

Call a method to create a file with binary content in a Google Drive repository folder.

Call addRepositoryItem(repositoryId, repositoryFolderId, file, filedata) to create a file with binary content in a Google Drive repository folder. After the file is created, we show the file’s ID, name, description, external URL, and download URL.

See Also