:MountStructure()


Class

     aprFTP()

 

Syntax

     :MountStructure( cFileSystem, [hSession] ) -> lSuccess

 

Parameters

 

cFileSystem

String which specifies the file system to mount on the remote server.

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

 

To get further error information see :nErr and :cErr

To see the remote server's response, see :GetResultCode() and :GetResultString().

 

Description

The :MountStructure() method mounts a different file system (or other directory data structure) on the remote server.

 

This function sends the SMNT command to the server, which may not be supported on some platforms. Use of this command typically requires that the user have administrator privileges on the remote host.

 

See Also

:CrateDirectory(), :RemoveDirectory()