001
18.05.2003, 12:31 Uhr
FloSoft
Medialer Over-Flow (Administrator)
|
per php hab ichs nun hingebracht:
Code: |
<?php
echo "\nTrying to Upload\n"; $conn = @ftp_connect("hostname"); if($conn) { echo "Connection established\nLogging in: "; if(@ftp_login($conn,"user","password")) echo "done\n"; else echo "failed\n"; echo "Uploading File \"datei.html\": "; $f = fopen("/home/user/datei.html","r"); if(@ftp_fput ($conn, "/dir/datei.html", $f, FTP_BINARY )) echo "done\n"; else echo "failed\n";
echo "Closing Connection\n\n"; @ftp_quit($conn); }
?>
|
-- class God : public ChuckNorris { }; |