[Swift-devel] URIs in mappers

Ben Clifford benc at hawaga.org.uk
Tue Sep 18 14:57:57 CDT 2007



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.

-- 




More information about the Swift-devel mailing list