Open GoogleCodeExporter opened 9 years ago
opener.parse actually returns the filesystem object plus a path. try
layer.listdir(path)
Original comment by willmcgugan
on 14 Oct 2013 at 1:58
Isn't the returned object to be a sandboxes FS object for /tmp? Why should the
returned FS object be bound to '/' instead? This does not make sense.
Original comment by zopyxfilter
on 14 Oct 2013 at 2:12
There's no way to determine if 'sftp://some.host/tmp' refers to a directory or
a file just from the url.
You probably want opener.opendir, which returns a filesystem object for a
subdirectory.
Original comment by willmcgugan
on 14 Oct 2013 at 2:41
Original issue reported on code.google.com by
zopyxfilter
on 14 Oct 2013 at 1:37