[Swift-devel] syntax for mapping files on remote resource

Mike Kubal mikekubal at yahoo.com
Thu Apr 17 13:51:38 CDT 2008


Hi Ben,

Please take a look at the Test_FRED logs in
~mkubal/Swift_for_LigandAtlas on wiggum. I'm
attempting to run on NCSA's Abe.

I tried different variations on the syntax:

file
fls[]<filesys_mapper;location="gsiftp://grid-abe.ncsa.teragrid.org/cfs/scratch/users/mkubal/Compound_Databases/Zinc_Drug_Like/zinc.drug_like.chunks3500">;

I get the error:

java.lang.RuntimeException:
org.globus.cog.abstraction.impl.file.FileResourceException:
Could not get list of files in
cfs/scratch/users/mkubal/Compound_Databases/Zinc_Drug_Like/zinc.drug_like.chunks3500
from server
Caused by:
        Server refused performing the request. Custom
message:  (error code 1) [Nested exception message: 
Custom message: Unexpected reply: 451 refusing to
store with active mode
org.globus.ftp.exception.DataChannelException:
setPassive() must match store() and setActive() -
retrieve()  (error code 2)
org.globus.ftp.exception.DataChannelException:
setPassive() must match store() and setActive() -
retrieve()  (error code 2)

Thanks,

Mike

--- Ben Clifford <benc at hawaga.org.uk> wrote:

> 
> > Hypothetically, what would the Swift syntax be if
> I
> > wanted to map all the files in a directory on the
> > remote resource, say 
> >
>
/cfs/scratch/users/mkubal/Compound_Databases/Zinc_Drug_Like,
> > into file fls[] ?
> 
> try something like:
> 
> file fls[] 
>
<filesys_mapper;location="gsiftp://tg-gridftp.uc.teragrid.org/home/mkubal">
> 
> I think something like that should work, though I
> haven't tried it out as 
> I'm working on not-Swift this week.
> 
> -- 
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Swift-devel mailing list