Ftp upload problem

hi all.

I’m having problems with a php ftp uploader can somebody look at my script and help me find out why it won’t work;


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<form action="myupload.php" method=post enctype="multipart/form-data"> 
submit this file: <input type=file name="userfile"><br> 
<input type=submit><br> 
</form> 
</body>
</html>


<? 
// In PHP earlier then 4.1.0, $HTTP_POST_FILES should be used instead of $_FILES. 
if(!empty($_FILES["userfile"])) { 
    $uploaddir = "/ftp/" // set this to wherever 
    //copy the file to some permanent location 
    if (move_uploaded_file($_FILES["userfile"]["tmp_name"], $uploaddir . $_FILES["userfile"]["name"])) {
        echo("file uploaded");
    } else {
        echo ("error!");
    }
} 
?>

the error i get is: Parse error: parse error in /home/iceni/public_html/myupload.php on line 6

all help welcome