FTP函式庫

ftp_put

(PHP3 >= 3.0.13 , PHP4 >= 4.0b4)

ftp_put ---  上傳檔案到FTP伺服器

語法 : int ftp_put (int ftp_stream, string remote_file, string local_file, int mode)

說明 : 

成功則傳回true,失敗則傳回false

ftp_put( )將本地的檔案local_file儲存在FTP伺服器上的remote_file,傳輸的模式mode必須是FTP_ASCII 或是FTP_BINARY


上一頁 首頁 下一頁