Network.TCP.FileServer.getFile() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to Network.TCP.FileServer Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Network.TCP.FileServer.getFile(remoteIPAddress:String, remotePortNumber:Number, remoteFilePath:String, localFilePath:String):Void

Parameters
remoteIPAddress:String - Remote file server IP address

remotePortNumber:Number - Remote file server port number

remoteFilePath:String - Path to a file on remote server

localFilePath:String - Path to a file on local machine

Returns
Nothing

Description
Retrieves the specified file from the specified remote system.

Notes
None

Example Code
mdm.Network.TCP.FileServer.getFile("127.0.0.1", 4000, "c:\\remote.txt", "c:\\local.txt");

mdm.Network.TCP.FileServer Class Example Downloads
No Example Downloads Available


User Comment by brian-HAI on 3rd June 2008 - 19:48
Make sure you do NOT have an instance of the TCP fileserver running in the app that's calling this function. It will cause it to get a blank file, or no file at all.

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page