putFile (method)
Upload a file specified by LocalFile to the TFTP server.
Syntax
- (void)putFile;
public func putFile() throws -> Void
Remarks
The local file specified by LocalFile is uploaded to the remote file specified by RemoteFile.
Example (Put a File)
TFTPControl.TFTPServer = "MyServer" TFTPControl.LocalFile = "C:\filename.txt" TFTPControl.RemoteFile = "/remotefile.txt" TFTPControl.PutFile()