[Swift-devel] URIs in mappers

Mihael Hategan hategan at mcs.anl.gov
Tue Sep 18 15:02:12 CDT 2007


On Tue, 2007-09-18 at 19:57 +0000, Ben Clifford wrote:
> 
> On Tue, 18 Sep 2007, Mihael Hategan wrote:
> 
> > > That document is not particularly explicit as to how the path component is 
> > > to be interpreted. The interpretation I've always seen (eg. Windows and OS 
> > > X command-line launchers, globus-url-copy) is that file: URL paths are 
> > > relative to / so I would expect file:///etc/group to work (which it did) 
> > > and also file://localhost/etc/group to also work (which it did not).
> > 
> > Actually GridFTP considers relative paths to be relative to CWD
> > (typically ~).
> 
> Yes, RFC 1738 nicely explains what the paths do in ftp URLs, as a sequence 
> of directory change operations. Its less explicit with file URLs.

I think allowing relative URLs (relative to the home directory) promotes
portability, at least for providers that treat ~ as the default CWD.

> 




More information about the Swift-devel mailing list