Re: Getting the initial remote path - WeOnlyDo Discussion board

Re: Getting the initial remote path (General questions)

by ManhMike, Friday, September 09, 2005, 21:06 (7014 days ago) @ wodSupport

Ahh, that worked, sort of.

The issue I have encountered involves a chrooted environment, where I am placed into a certain subdirectory at connection.

In this instance, both my FTP client and wodFtpDLX say that I am located in / (which is actually something like /aaa/bbb/home/ ).

Of course, *I* know where I am in the filesystem, but programatically I have no way to find this out.

In my FTP client I can manually back up and get out of the home directory, revealing the true path as I continually issue a ChDir .. command. The ftp control doesn't allow me to do this, at least, not under SFTP.

I have discovered that some FTP server software (i.e. ProFTPd) allows me to reveal the full path, however this is not always an option.

There seems to be a serious limitation in wodFtpDLX in that I am stuck unless I KNOW the full path or my FTP server is configured to reveal it.

Am I stuck or is there a workaround?


Complete thread: