|Re: [ecf-dev] E-intro [Was Efficient downloads]
Hi Thomas and Filip,Thanks! The help is most welcome. The filetransfer API is in plugin: org.eclipse.ecf.filetransfer. The bundle docs (with pointers to javadocs) is: http://wiki.eclipse.org/index.php/ECF_API_Docs#File_Transfer_API
There are also pointers in wiki to project sets source and test code.There is a base provider plugin: org.eclipse.ecf.provider.filetransfer. This plugin has an extension point that allows other plugins to insert implementations associated with various protocols. See the extension point org.eclipse.ecf.provider.filetransfer.fileTransferProtocolFactory. The httpclient implementation uses this extension point (and is defined in another plugin: org.eclipse.ecf.provider.filetransfer.http).
The basic implementation that uses jobs for doing pause/resume (IFileTransferPausable) is in org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer. This can/could be used (and appropriate methods overidden) or replaced...up to you as to what makes sense.
Filip please let me and everyone know if you have any questions/comments/suggested or needed changes...and thanksinadvance! I would/will be curious myself about what http/https impl you are looking to use and what specific http/https protocol features you will be using as well.
Scott Thomas Hallgren wrote:
Hi Scott,We, (the Buckminster team) would like to offer our help in implementing protocol-level pause/resume and recovery capabilities for the ECF http/https file transfer. I'd like you to meet Filip Hrbek. He is the Buckminster guy who currently works on improving our materialization. He will be our main resource for this, should you accept our help. So Filip, meet Scott. Scott meet Filip.Regards, Thomas Hallgren Scott Lewis wrote:Hi Thomas, Thomas Hallgren wrote:Hi Scott,Thanks for a very elaborate answer. This looks very promising. Well structured, low overhead. Only thing missing if I read you correctly is true pause/resume on protocol level (and the failure recovery that I think will come as a bonus). Do you have any sense what it would take to implement that?It depends upon each protocol and it's corresponding support in (some) protocol library. I assume you are most interested in http/https. I'll take a look at the httpclient 3.0.1 support for pause/resume and failure recovery.Scott _______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev
Back to the top