PHP Archiv

Das PHP Script Verzeichnis

Tag Archives: FTP.Upload

Ein Beispiel, das zeigt wie man eine Datei auf einen FTP Server lädt. // FTP access parameters $host = ‚ftp.example.org‘; $usr = ‚example_user‘; $pwd = ‚example_password‘; // file to move: $local_file = ‚./example.txt‘; $ftp_path = ‚/data/example.txt‘; // connect to FTP server (port 21) $conn_id = ftp_connect($host, 21) or die („Cannot connect to host“); // send […]