Hi
I need to transfer files between my grid environment (I do a little bit of 
programming with java) and my local computer (which has no globus installed). 
It can be done e.g. if I start on my local computer a ftp server and with 
globus-url-copy I can transfer this files. Is there a more convenient way? I 
think the best solution would be if url-copy would support scp? Does the globus 
JavaAPI offers something convenient? 


With this code I get an Exception in thread "main" UrlCopy transfer failed. 
Caused by java.io.FileNotFoundException:
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at 
org.globus.io.streams.GlobusFileInputStream.<init>(GlobusFileInputStream.java:24)
        at org.globus.io.urlcopy.UrlCopy.getInputStream(UrlCopy.java:417)
        at org.globus.io.urlcopy.UrlCopy.copy(UrlCopy.java:376)
        at 
org.globus.examples.clients.JobExecution.GRAMClient.main(GRAMClient.java:544)?
I have executed the url-copy with this Source and DestUrls on the console and 
it worked - but I dont know why not here?

GlobusURL from = new GlobusURL("file:///home/pj/file");
                        GlobusURL to = new 
GlobusURL("gsiftp://pj:2811/home/pj/file";);
                        UrlCopy uc = new UrlCopy();
                        uc.setSourceUrl(from);
                        uc.setDestinationUrl(to);
                        uc.setUseThirdPartyCopy(false);
                        uc.setAppendMode(true);
                        uc.copy();      

thx
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

Reply via email to