Skip to content

upload / simpleUpload a string #169

@LeftPinkie

Description

@LeftPinkie

Per your document (https://kunalvarma05.github.io/dropbox-php-sdk/master/Kunnu/Dropbox/Dropbox.html#method_simpleUpload), it states that Dropbox->upload() and Dropbox->simpleUpload() can take a string as their first parameter:

upload(string|DropboxFile $dropboxFile, string $path, array $params = array()) 

Is this a mistake because when I use a string or variable, I get error message Failed to create DropboxFile instance. Unable to read resource:?

If this is a mistake in the doc, is there a way to upload a string to Dropbox?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions