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

Back to Network.TCP.FileServer Class Summary

Windows, Mac OSX, Linux

mdm.Network.TCP.FileServer.sendFile(remoteIPAddress:String, remotePortNumber:Number, localIPAddress:String, localPortNumber:Number, localFilePath:String, remoteFilePath:String):Void

remoteIPAddress:String - Remote file server IP address

remotePortNumber:Number - Remote file server port number

localIPAddress:String - Local file server IP address

localPortNumber:Number - Local file server port number

localFilePath:String - Path to a file on local machine

remoteFilePath:String - Path to a file on remote server


Transfers a file from the local file server to the remote file server.

When executed, sets a PPSV (variable) called "mdm_tcpfiletransfer". The value to this PPSV is either "true" if the transfer has finished or "false" if the transfer is still in progress.

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

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

User Comment by brian-HAI on 3rd June 2008 - 19:52
note that as of version 3.05 this function does not work.

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