$params = array("ftp" => array("overwrite" => "1")); $context = stream_context_create($params); $fh = fopen("ftp://www.rntsoft.com/", "w", 0, $context);?>