Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish they would fix their API along with these improvements. Currently there's no way to upload a file to OneDrive without knowing the file size. Google and DropBox support that with their APIs (via slightly different forms of chunked uploads).

This is relevant to me for http://emailitin.com/ because with email attachments there's no content-length. Since I don't want to store attachments on my end (even temporarily) I'd rather just pipe them directly to OneDrive (as I do with GDrive and DropBox). With the current API limitation I have to pipe to a temporary file, stat the file, and then upload. Really annoying.



It's a multipart upload. You don't need to know the content-length.


Maybe they added that feature recently. I'll look into it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: