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

"Open-Mind" <[EMAIL PROTECTED]> escribió en el mensaje
> which is the "best" upload file method ?
> file uploads or FTP commands from PHP
> thanks

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

Reply via email to