sorry but i'm trying to avoid putting my ftp login in password directly into my script. i should have mentioned that earlier.
any other ideas? "Tom Rogers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Thursday, March 11, 2004, 5:52:08 PM, you wrote: > >> Use the php ftp functions to create directories and move uploaded > >> files would be one way. > >> > >> -- > >> regards, > >> Tom > > J> Move the uploaded files? You mean create the directory in the wrong spot and > J> then move it to the right spot? and the same with the files? > > > No, I mean use ftp_connect function and login using your username and > password with ftp_login, then > use ftp commands to create a new directory (ftp_mkdir)and to put > (ftp_put) the uploaded file there from its temp location. That way any > new directories and files will have the correct username as the owner. > Have a good look at the FTP functions in the manual. > > -- > regards, > Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php