owncloud / ios-library

MIT License
77 stars 90 forks source link

uploadFileSession #88

Closed marinofaggiana closed 9 years ago

marinofaggiana commented 9 years ago

hi @javiergonzper I am here again :-)

This is very important for me, is possible and how after a call of uploadFileSession know the etag with the server has assigned to the new file without having to make a new call at server (type readFile) ???

thanks !

ggdiez commented 9 years ago

Hello @marinotws

When the uploadFileSession is finished, in the "success" block you can parse the "response" object, inside of it there is the "ETAG" field.

In the future we will include this parse in the OC Library.

Best,

marinofaggiana commented 9 years ago

@javiergonzper or @ggdiez are you alive ? :-)))) I would like to intercept in OC : (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session

thanks m.

javiergonzper commented 9 years ago

Hey @marinotws that it is an AFNetworking method... I am not sure how can we help you.

marinofaggiana commented 9 years ago

ok , found and applied equally thanks