1.3.6: ftp client does not change directory for "!" commands
Prashant Rane
prane2000@attbi.com
Fri Dec 21 23:32:00 GMT 2001
Hi,
The ftp client executes all the "!" commands (e.g. !ls, !pwd, !(any unix
commad)) with current working directory as users home directory. Even if
the directory is changed to some other directory than $HOME, the
command !pwd always returns value of home directory.
It used to work right. I think the proper behavior is that the !
commands should be executed as if they are executed from the directory
whch is the local directory of the ftp client i.e. the directory where
the ftp command "lcd" took the clinet to.
This is specially handy when uploading specific files from a directory.
The "!ls" does not show local files form "lcd" directory but from the
user home directory.
I am attaching a session below. Plus output of "cygcheck -sv"
The ftp client is part of inetutils package.
Thanks in advance.
Prashant Rane
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ftp_session.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20011221/12766e84/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20011221/12766e84/attachment.log>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list