IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

GetFile Method

Download a RemoteFile from the TFTP server.

Syntax

[VB.NET]
Public Sub GetFile()
[C#]
public void GetFile();

Remarks

The remote file specified by RemoteFile is downloaded to the local file specified by LocalFile, or it is retrieved through the Transfer event, if the LocalFile property is "" (empty string).

Example (Get a File)


TFTPControl.TFTPServer = "MyServer"
TFTPControl.LocalFile = "C:\filename.txt"
TFTPControl.RemoteFile = "/remotefile.txt"
TFTPControl.GetFile()

NOTE: This method has a corresponding asynchronous version (GetFileAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0