ftp root dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can I assume that all ftp_connect()s will make the current dir the DOC_ROOT?

If not, how can I insure the ftp root dir is the same as DOC_ROOT?

You can't use the absolute path with ftp.

chdir() doesn't change the ftp current dir.

if you ftp_chdir() and it's already on the root, it posts an error.

ftp_pwd() simply returns "/", which simply says it's on its root, where ever that is.

Thanks....

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux