SalQuickFTP

PPJ.Runtime.Windows.QO.SalQuickFTP

Namespace: PPJ.Runtime.Windows.QO

Assembly: PPJ.Runtime.49 (4.9.0.0)

FTP Control.

public class SalQuickFTP : SalCustomControl

Constructors

Default Constructor.

Properties

String: invalid (Default: "")

SalFtpClient: Returns the single instance of the FTP client. It is created when it's needed.

String: (Default: "")

String: invalid (Default: "")

Int32: invalid (Default: 21)

String: invalid (Default: "")

String: invalid (Default: "")

String: invalid (Default: "")

Int32: invalid (Default: 0)

Int32: invalid (Default: 0)

Methods

Closes an open file.

ParameterTypeDescription

hFile

Returns: SalNumber.

Establish communication with an FTP server under the user and password specified. If the user name is null, the anonymous user is connected.

ParameterTypeDescription

sServerName

nServerPort

sUserName

sPassword

Returns: SalNumber.

Creates a directory on the FTP server.

ParameterTypeDescription

sDirectory

Returns: SalNumber.

Deletes the specified file on the FTP server.

ParameterTypeDescription

sRemoteFile

Returns: SalNumber.

Disconnects the current connection.

Returns: SalNumber.

Obtain an array of directory names based on a search path specified.

ParameterTypeDescription

sSearch

sDirs

Returns: SalNumber.

ParameterTypeDescription

sSearchFile

saFileNames

Returns: SalNumber.

Obtain an array of file names and all related file information based on a search path specified.

ParameterTypeDescription

sSearchFile

saFileNames

naAttributes

dtaCreationTimes

dtaLastAccessTimes

dtaLastWriteTimes

naFileSizes

Returns: SalNumber.

ParameterTypeDescription

sSearchFile

sFileName

Returns: SalNumber.

ParameterTypeDescription

sSearchFile

sFileName

nAttributes

dtCreationTime

dtLastAccessTime

dtLastWriteTime

nFileSize

Returns: SalNumber.

ParameterTypeDescription

sFileName

Returns: SalNumber.

ParameterTypeDescription

sFileName

nAttributes

dtCreationTime

dtLastAccessTime

dtLastWriteTime

nFileSize

Returns: SalNumber.

ParameterTypeDescription

sDirectory

Returns: SalNumber.

Copies a file from an FTP server to the local machine. If nContext is greater than zero, an asynchronous process is started and status messages are send to the window. The nContext argument uniquely identifies the asynchronous process and is passed into the status messages in wParam.

ParameterTypeDescription

sRemoteFile

sLocalFile

bTransferBinary

nContext

Returns: SalNumber.

Returns the code of the last error that was handled by the class.

Returns: SalNumber.

Returns the message of the last error that was handled by the class.

Returns: SalString.

Opens a file on an FTP server.

ParameterTypeDescription

sRemoteFile

nFlags

bFlags

Returns: SalNumber.

Copies a file from a local machine to an FTP server. If nContext is greater than zero, an asynchronous process is started and status messages are sent to the window. The nContext argument uniquely identifies the asynchronous process and is passed into the status messages through wParam.

ParameterTypeDescription

sLocalFile

sRemoteFile

bBinaryTransfer

nContext

Returns: SalNumber.

ParameterTypeDescription

hFile

sBuffer

nBufferSize

Returns: SalNumber.

Delete a specified directory on an FTP server.

ParameterTypeDescription

sDirectory

Returns: SalNumber.

Rename a file on an FTP server.

ParameterTypeDescription

sOldRemoteFile

sNewRemoteFile

Returns: SalNumber.

Changes to a different working directory on an FTP server.

ParameterTypeDescription

sDirectory

Returns: SalNumber.

Writes information to an open file on an FTP server.

ParameterTypeDescription

hFile

sBuffer

nBufferSize

Returns: SalNumber.

Implements

NameDescription

All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface.

Last updated