Hi Laserlight
Thanks for the tips. I tried to use something like this:
if(!ftp_chdir($conn_id, $cp_dir))
{
ftp_mkdir($conn_id, $cp_dir);
ftp_chdir($conn_id, $cp_dir);
}
but if the if-statement fails it is giving a quite annoying Warning message on the screen.
I will check out how to do it with file_exists()
Tore