Autor Zpráva
peta
Profil
Lze uploadovat na web z disku bez pouziti $_FILES?
Pokud ano, mohl by mi nekdo pomoci s cestami?

$from="file://F:\Documents and Settings\pp\Plocha\eko-bg.gif";
$to = "soubor.bbb";

$conn_id = ftp_connect($ftp_server/*,$ftp_port,$ftp_timeout*/) or die("<hr>Err FTP connect server<hr>");
$login_result = ftp_login($conn_id, $ftp_username, $ftp_userpsw) or die("<hr>Err FTP login<hr>");
// po sem OK

if (ftp_put($conn_id, $tofile, $fromfile, FTP_BINARY)) { //FTP_BINARY FTP_ASCII

Warning: ftp_put() [function.ftp-put]: remote host file access not supported, file://F:\Documents and Settings\pp\Plocha\eko-bg.gif in /home/www/hostuju.cz/subdomains/mracek/y/uplftp.php on line 62

Warning: ftp_put(file://F:\Documents and Settings\pp\Plocha\eko-bg.gif) [function.ftp-put]: failed to open stream: no suitable wrapper could be found in /home/www/hostuju.cz/subdomains/mracek/y/uplftp.php on line 62
There was a problem while uploading file://F:\Documents and Settings\pp\Plocha\eko-bg.gif


Soubor je nahrany na
mracek.hostuju.cz/y/uplftp.php
a sem chci dostat i ten soubor
mracek.hostuju.cz/y/soubor.bbb
Toto téma je uzamčeno. Odpověď nelze zaslat.

0