-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I've got some code that looks like:
folder = client.folder_by_id(folder_id)
folder.upload_file(file_name, data)And I'm getting an exception like Errno::ENAMETOOLONG: File name too long. It appears to be passing the data variable as the file name when creating a new file.
I've looked through the source for the upload_file method, and it looks okay, but I've also verified that file_name is just foo.csv so something's going awry.
Any ideas? Is the upload_file method available for use, or old dead code?
Metadata
Metadata
Assignees
Labels
No labels