Open chaps opened 6 years ago
@chaps Is this what you're looking for? https://github.com/smartfile/client-python/pull/17
Hi @cabarnes , I'm looking for something more like this : https://github.com/chaps/client-python/commit/89a816a4fc30b562002b8b5c14189ad6b4afb52c let me know if this fits in order to submit a PR thanks!
When calling the download method , a file object is created with the same path as the requested file to download , paths like /Documents/somefile won't exist usually under the local filesystems where the library is being used .
The default path to write the file contents could be the local CWD plus the name of the file being downloaded , and the method could accept a keyword argument in order to explicitly tell the desired path where to write the file contents.