get_file Method
Gets the specified file.
Syntax
def get_file() -> None: ...
Remarks
This method gets the specified file. A connection is made with the remote_host using the specified protocol, user, and password, and a request is sent to read the file specified by remote_file.
Example (Get a File)
RCPControl.RemoteHost = "MyServer"RCPControl.User = "username"RCPControl.Password = "password"RCPControl.Protocol = protRexecRCPControl.RemoteFile = "/remotefile.txt"RCPControl.LocalFile = "C:\filename.txt"RCPControl.GetFile()