NTAdvFTP61.URL ActiveX DLL



Identification

NTAdvFTP61.URL

Description

This is the URL object used to properly parse all kinds of URL accepted in Max-FTP.

Enumerators

URLTypes

Unknown = 0
File = 1
Remote = 2
FTP = 3
HTTP = 4
Server = 5

Functions

GetShareName (theURL) String

Parameters

theURL String

Specifies the URL to get the Share Name from.

Description

Gets the Share Name from a URL

GetUserName (theURL) String

Parameters

theURL String

Specifies the URL to get the User Name from.

Description

Gets the User Name from a URL.

GetPassword (theURL) String

Parameters

theURL String

Specifies the URL to get the Password from.

Description

Gets a Password from a URL specified.

GetServer (theURL) String

Parameters

theURL String

Specifies a URL to get the Server from.

Description

Gets the Server from a specified URL.

GetFile (theURL) String

Parameters

theURL String

Specifies the URL to get a File from.

Description

Gets a File from the URL specified.

GetFolder (theURL) String

Parameters

theURL String

Specifies the URL to get a Folder from.

Description

Gets a Folder from the URL specified.

GetPort (theURL) Long

Parameters

theURL String

Specifies the URL to get the Port from.

Description

Gets a Port from the URL specified.

GetDirChar (theURL) String

Parameters

theURL String

Specifies the URL to get the Directory Character from.

Description

Gets the Directory Character from the URL specified. Returns / or \

GetParentFolder (theURL) String

Parameters

theURL String

Specifies the URL to get the Parent Folder from.

Description

Gets the Parent Folder from the URL specified.

SetFolder (theURL, newDir) String

Parameters

theURL String

Specifies the URL to set a folder to.

 

newDir String

The new folder to set to URL.

Description

Sets a new folder to the specified URL.

IsRoot (theURL) Boolean

Parameters

theURL String

Specifies the URL to determine if it is a root folder.

Description

Returns if the URL specified is the root folder or not.

GetType (theURL) URLTypes

Parameters

theURL String

Specifies the URL to get the Type from.

Description

Gets the Type of the URL specified.

ValidateURL (theURL) Boolean

Parameters

theURL String

Specifies the URL to validate.

Description

Validates a URL.

ValidateRemoteURL (theURL, eServer, ePort, eDir) String

Parameters

theURL String

Specifies the remote URL to validate.

 

eServer String

Specifies the Server to validate.

 

ePort Integer

Specifies the Port to validate.

 

eDir String

Specifies the Directory to validate.

Description

Validates a remote URL.

URLEncode (encodeString) String

Parameters

encodeString String

Specifies the data to encode with escape codes.

Description

Encodes a string with proper URL escape codes for malformed addresses and passing web data through parameters.

URLDecode (encodedString) String

Parameters

encodedString String

Specifies the data with escape codes to un-encode.

Description

Decodes a string of proper URL escape codes to reform proper addresses and web parameter data.

Automation

Object:Init (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is initialized.

Object:Term (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is terminated.