mdm.FTP() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to FTP Class Summary

Availability
Windows, Mac OSX, Linux

Constructor
mdm.FTP(server:String, port:Number):Void

Parameters
server:String - FTP Server URL

port:Number - Port Number

Returns
Nothing

Description
Creates a new FTP Instance using the specified parameters. Multiple instances can be created.

Notes
This will not login to the server. FTP.login() must be executed after this command to log into the FTP server.
'21' is the standard FTP port

NOTE: AS1/AS2 based code should not use "new" keyword for creating this object. So to create instance of mdm.FTP object in AS1/AS2 one could use:
var ftp = mdm.FTP(server, port);

Example Code
var myFTP:mdm.FTP = new mdm.FTP("ftp.mydomain.com", 21)
//
// NOTE: AS1/AS2 version has different syntax
// see: there is no "new" keyword used
var myFTP = mdm.FPT("ftp.mydomain.com", 21);

mdm.FTP Class Example Downloads
No Example Downloads Available


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