From: Justin B. <jb...@ec...> - 2009-08-10 10:55:18
|
Hi Elliott, GridSAM doesn't support recursive file copy. Also ftp doesn't either. What I suggest you do is tar or zip (or even jar) up the directory and send the resulting file over in one go. Then also send over a script to be used as the Executable which unpacks the archive file and uses its contents. The 'fractal' sample client which comes with the OMII-UK Campus Grid Toolkit uses this method. Let me know if you require any more help with this. Regards, Justin On 5 Aug 2009, at 17:36, eh...@ba... wrote: > Hi > > I am attempting to stage in a whole directory for use within GridSAM, > the JSDL that I am using to do this is: > > <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> > <JobDescription> > <Application> > <POSIXApplication > xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> > <Executable>/bin/echo</Executable> > <Argument>Hello World</Argument> > </POSIXApplication> > </Application> > <DataStaging> > <FileName>./GridScape/bin</FileName> > <CreationFlag>overwrite</CreationFlag> > <Source> > <URI>ftp://anonymous@localhost:44556/GridScape/bin</ > URI> > </Source> > </DataStaging> > </JobDescription> > </JobDefinition> > > However the GridSAM job fails with the error message: > > reason for {failed} state - Could not determine the size of > "ftp://anonymous@localhost:44556/GridScape/bin" because it is not a > file. > > How do I go about staging in whole directories for use within a > GridSAM job? > > Thanks > Elliott Hill > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > GridSAM-Discuss mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsam-discuss -- Justin Bradley Design & Development Team Leader j.b...@om... OMII-UK Bay 23, 4067, B32 University of Southampton |