| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#19 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in May 2004
Lives in South Dakota
Hosted on Liquid
132 posts
Gave thanks: 0
Thanked 0 times
|
Out of the 3 messages, I'm getting this one: message("Directory was created, but unable to chmod. Please contact support!",
$php_errormsg); And no, ftp_pwd($this->CONN_ID) does not equal the $full path. The full path is what you see in the error message. The ftp_pwd($this->CONN_ID) is only the home directory of the current ftp user, which in this case would be /brandon.
__________________
Thanks! Brandon Dedicated Servers: liquid.hostglory.com www.modmyspace.com www.uploadsystem.com |
|
|
|
|
|
#20 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
|
OK, well I noticed that the ftp_mkdir makes the following directory:
ftp_pwd($this->CONN_ID) . "/" . $directory But then you're trying to CHMOD this directory: $fullpath . $directory Have you checked through regular ftp to see where the folders were created?
__________________
Nobody doing nothing |
|
|
|
|
|
#21 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in May 2004
Lives in South Dakota
Hosted on Liquid
132 posts
Gave thanks: 0
Thanked 0 times
|
You made me think from the user's perspective that I don't need to use the full path, but just the path of the user's home directory. So, in the end all I needed to do is use: ftp_pwd($this->CONN_ID) . "/" . $directory
So, it works now. Thanks once again!
__________________
Thanks! Brandon Dedicated Servers: liquid.hostglory.com www.modmyspace.com www.uploadsystem.com |
|
|
|