Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [geclipse-dev] File Transfer

Hi Mathias,
Romain is right when he says that EFS should be used to access remote files. Nevertheless EFS has some problems concerning caching and therefore is not well suited to be used with remote file systems. Therefore we provide a wrapper EFS file system in our core. To access it you may use the following code:

URI uri = *youruri*;
GEclipseURI guri = new GEclipseURI( uri );
IFileStore fs = EFS.getStore( guri );

The returned file store is an instance of the g-Eclipse wrapper file system that handles caching and other issues for you. Note that we currently provide support for gsiftp, srm and lfc (the latter is read-only up to now).
Sounds good!
Romain, this fs may also be useful for you and may make the use of your own wrapper class obsolete.
Thanks for this info. Does GEclipseURI allow the usage of additional EFS implementations (http, ftp, scp...)?

Rom.



Back to the top