SalQuickFTP
PPJ.Runtime.Windows.QO.SalQuickFTP
Last updated
PPJ.Runtime.Windows.QO.SalQuickFTP
Last updated
Namespace: PPJ.Runtime.Windows.QO
Assembly: PPJ.Runtime.49 (4.9.0.0)
FTP Control.
Default Constructor.
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
)
Closes an open file.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
sServerName | ||
nServerPort | ||
sUserName | ||
sPassword |
Returns: SalNumber.
Creates a directory on the FTP server.
Parameter | Type | Description |
---|---|---|
sDirectory |
Returns: SalNumber.
Deletes the specified file on the FTP server.
Parameter | Type | Description |
---|---|---|
sRemoteFile |
Returns: SalNumber.
Disconnects the current connection.
Returns: SalNumber.
Obtain an array of directory names based on a search path specified.
Parameter | Type | Description |
---|---|---|
sSearch | ||
sDirs |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sSearchFile | ||
saFileNames |
Returns: SalNumber.
Obtain an array of file names and all related file information based on a search path specified.
Parameter | Type | Description |
---|---|---|
sSearchFile | ||
saFileNames | ||
naAttributes | ||
dtaCreationTimes | ||
dtaLastAccessTimes | ||
dtaLastWriteTimes | ||
naFileSizes |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sSearchFile | ||
sFileName |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sSearchFile | ||
sFileName | ||
nAttributes | ||
dtCreationTime | ||
dtLastAccessTime | ||
dtLastWriteTime | ||
nFileSize |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sFileName | ||
nAttributes | ||
dtCreationTime | ||
dtLastAccessTime | ||
dtLastWriteTime | ||
nFileSize |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
sLocalFile | ||
sRemoteFile | ||
bBinaryTransfer | ||
nContext |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hFile | ||
sBuffer | ||
nBufferSize |
Returns: SalNumber.
Delete a specified directory on an FTP server.
Parameter | Type | Description |
---|---|---|
sDirectory |
Returns: SalNumber.
Rename a file on an FTP server.
Parameter | Type | Description |
---|---|---|
sOldRemoteFile | ||
sNewRemoteFile |
Returns: SalNumber.
Changes to a different working directory on an FTP server.
Parameter | Type | Description |
---|---|---|
sDirectory |
Returns: SalNumber.
Writes information to an open file on an FTP server.
Parameter | Type | Description |
---|---|---|
hFile | ||
sBuffer | ||
nBufferSize |
Returns: SalNumber.
Name | Description |
---|---|
All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface. |