Re: best" upload method

From: Date: Mon, 22 Sep 2003 04:48:27 +0000
Subject: Re: best" upload method
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-30609@lists.php.net to get a copy of this message
I use file upload, it's faster than ftp because the ftp conection and login process takes a few seconds. You have to see that the permissions in each method are diferent. Some times you cannot delete a file copied with ftp useing the unlink() function unless you change the chmod. If you used the upload method you can use unlink() but not ftp_delete(). It has solutions but with a little of complexity. That's why I recomend the upload method and the functions copy() and unlink() for moveing and deleting files. You can use also the chmod() function with this method to change permissions. "Open-Mind" <open-mind@home.ro> escribió en el mensaje news:056801c37897$534b1450$ac6ce9d5@homep524g0a63d... > which is the "best" upload file method ? > file uploads or FTP commands from PHP > > thanks

« previous php.db (#30609) next »