ftpFileSend (Function) |
Top Previous Next |
This function transfers a file from the device to the FTP server. The file system must already be open with fsMediaOpen or the send will fail.
Note: The length of the remote file name is restricted by the server.
Note: If the file already exists and the user is allowed to overwrite it, the file will be replaced without warnings.
Input: ID : INT The ID returned from ftpConnect.
Name : STRING Name to save the file as. Both absolute and relative paths are allowed.
Local : STRING (Optional) Alternative local name of file to send if not the same name (without any path). Both absolute and relative paths are allowed.
Returns: INT
Declaration: FUNCTION ftpFileSend : INT;
Example: INCLUDE rtcu.inc |