ftp_fput

ftp_fput -- Uploads from an open file to the FTP server

Description

bool ftp_fput ( resource ftp_stream, string remote_file, resource fp, int mode)

ftp_fput( ) uploads the data from the file pointer fp until end of file . The transfer mode specified must be either FTP_ASCII or FTP_BINARY

Returns TRUE on success , FALSE on error .