Open darouwan opened 5 years ago
I am willing to upload a file to a specific directory, like upload new.txt to new_dir/new.txt However, it seems I must find the directory id firstly then upload the file. Is there any convenient way to implement it?
@darouwan, try using this code instead:
client.item(drive='me', path="new_dir/new.txt").upload("new.txt")
Consider closing your issue.
I am willing to upload a file to a specific directory, like upload new.txt to new_dir/new.txt However, it seems I must find the directory id firstly then upload the file. Is there any convenient way to implement it?