FTPConnect Method

Connect to a FTP Server and performs login. Corresponds to the FTPConnect action.

object.FTPConnect(Name, [ConnectString])

TIP!

A connection string dialog window is available for the FTPConnect action in the Macro Editor. This tool automatically builds a valid connection string based on the information entered by the user. This string can then be copied and pasted into the script editor. Note thought that if you are using a connection string copied from the macro editor, you will need to enclose the connection string in quotes when including it as the ConnectString argument.

Client support

   Newlook Smartclient only.

Arguments

Name - (String, Required)

A name that is to be assigned to the ftp connection. The connection will be referred to by this name in subsequent ftp actions.This argument must be enclosed in quotes.

ConnectString - (String, Optional)

A string specifying the FTP connection details. This argument consists of a semi-colon separated name/value pair that can be set to one of two things:

  1. An existing ftp connection definition (that has been specified in Connections), OR
  2. A full connection definition specifying the ftp server and all relevant connection properties.

 

Each name/pair value is formatted as so: 'name=value'. For example: Address=192.168.1.1;Port=4245

Returns

This method returns an object with a Name property set to the string specified in the Name argument.

Applies To

App object

See Also

Disconnect Method | Upload Method | ChangeFolder Method | Download Method | NewFolder Method | NewLibrary Method | NewMember Method | NewPhysicalFile Method | Quote Method | Rename Method


© 2004-2021 looksoftware. All rights reserved.