Cicode Programming Reference > Cicode Function Categories > FTP Functions Introduction > FTPFileCopy


Copies a file from the FTP server to the Internet Display Client. Before calling this function, you need to call FtpOpen(). This function can only be used on the Internet Display Client.


FTPFileCopy(hndFTP, sSrcPath, sDestPath)


The handle of a valid FTP session, as returned by FTPOpen().


The file name and path of the file to be copied from the FTP Server to the Internet Display Client. This can be any FTP server.


The destination of the copied file (including the name of the file).

Return Values

0 (zero) if successful, otherwise an error is returned.

Note: The [Internet]ZipFiles parameter does not apply to files copied to the Internet Display Client using this function.

Related Functions

FTPOpen, FTPFileFind

See Also

FTP Functions