Closed adscib closed 10 months ago
Can you explain me the necessity of this function? File doesn't support file path
I'm storing large files that can't be fully loaded in memory and it saves me the headache of managing stream life cycles. I'm not sure whether it impacts performance. The other advantage is that File holds a local path to the underlying file even before it's committed.
I was able to get this to work in my fork by adding an extra argument to File.
Hi @adscib, Would you be interested in submitting a PR?
For sure. See #87.
Currently, the library only supports uploading files by stream. Would it be possible to add an option to upload by file path? That's supported in libcloud, so I suppose it wouldn't be too difficult. I'm happy to make a PR.