[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [geclipse-dev] File Transfer
|
Hi Pod, Hi Romain,
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).
Romain, this fs may also be useful for you and may make the use of your own wrapper class obsolete.
Hope that helps,
Mathias
-----Ursprüngliche Nachricht-----
Von: geclipse-dev-bounces@xxxxxxxxxxx [mailto:geclipse-dev-bounces@xxxxxxxxxxx] Im Auftrag von Romain
Gesendet: Dienstag, 27. Mai 2008 11:06
An: Developer mailing list
Betreff: Re: [geclipse-dev] File Transfer
Hi Pod,
to do that I have used EFS. EFS allows access to files through URI. The
non final wrapping class code may be found here:
http://mann.clermont.cemagref.fr/projets/SimExplorer/wiki/HPC/EFS
Rom.
POD69@xxxxxxx a écrit :
> Hi all
>
> After a successful JobSubmission i want to test a file transfer from/to a Storable Element so that I can transfer the job output to my local Filesystem.
> Are there any code-examples/hints etc. available?
>
> thx
>
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev