PHP/File Directory/Stream Context
stream_context_create
<?php
$params = array("ftp" => array("overwrite" => "1"));
$context = stream_context_create($params);
$fh = fopen("ftp://www.wbex.ru/", "w", 0, $context);
?>
<?php
$params = array("ftp" => array("overwrite" => "1"));
$context = stream_context_create($params);
$fh = fopen("ftp://www.wbex.ru/", "w", 0, $context);
?>