PPJ Desktop API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Runtime.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
    • Controls
      • SalActiveX
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
        • BorderStyle
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
        • LineStyle
        • LineType
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTableWindow
        • CellType
        • FocusRowStyle
        • RowsSizingStyle
        • SalTableColumn
        • SalTableColumnCollection
        • SalTableRow
        • SalTableRowCollection
        • SalTableWindowBase
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
      • SalRibbonStatusBar
    • Interfaces
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalType
      • ISalAccessory
      • ISalMenu
      • ISalWindow
    • Internet
      • FtpEventArgs
      • FtpEventHandler
      • HttpEventArgs
      • HttpEventHandler
      • SalFtpClient
      • SalHttpClient
      • SalQuickFTP
      • SalQuickHTTP
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuColumn
      • SalMenuItem
      • SalMenuRow
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • QO
      • SalQuickHTML
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
      • SalQuickToolTipCheckBox
      • SalQuickToolTipChildTable
      • SalQuickToolTipComboBox
      • SalQuickToolTipDataField
      • SalQuickToolTipHScrollBar
      • SalQuickToolTipListBox
      • SalQuickToolTipMultilineField
      • SalQuickToolTipOptionButton
      • SalQuickToolTipPicture
      • SalQuickToolTipPushButton
      • SalQuickToolTipRadioButton
      • SalQuickToolTipTableWindow
      • SalQuickToolTipVScrollBar
      • SalToolTipManager
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Runtime.DDE.49
    • General
      • SalDDE
  • PPJ.Runtime.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisColorPalette
      • VisColorPaletteBase
      • VisColorPaletteDropDown
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisRichEdit
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Runtime.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSeparator
      • XSalSeparatorDoubleRaised
      • XSalSeparatorEtched
      • XSalSeparatorInvisible
      • XSalSeparatorSingleRaised
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • SalQuickFTP()
  • Properties
  • AppName
  • FtpClient
  • Password
  • ServerName
  • ServerPort
  • UserName
  • WindowsClassName
  • WindowsDLLName
  • WindowsExStyle
  • WindowsStyle
  • Methods
  • CloseFile(hFile)
  • Connect(sServerName, nServerPort, sUserName, sPassword)
  • CreateDirectory(sDirectory)
  • DeleteFile(sRemoteFile)
  • Disconnect()
  • EnumDirectories(sSearch, sDirs)
  • EnumFiles(sSearchFile, saFileNames)
  • EnumFilesInfo(sSearchFile, saFileNames, naAttributes, dtaCreationTimes, dtaLastAccessTimes, dtaLastWriteTimes, naFileSizes)
  • FindFirstFile(sSearchFile, sFileName)
  • FindFirstFileInfo(sSearchFile, sFileName, nAttributes, dtCreationTime, dtLastAccessTime, dtLastWriteTime, nFileSize)
  • FindNextFile(sFileName)
  • FindNextFileInfo(sFileName, nAttributes, dtCreationTime, dtLastAccessTime, dtLastWriteTime, nFileSize)
  • GetCurrentDirectory(sDirectory)
  • GetFile(sRemoteFile, sLocalFile, bTransferBinary, nContext)
  • GetLastErrorCode()
  • GetLastErrorMessage()
  • OpenFile(sRemoteFile, nFlags, bFlags)
  • PutFile(sLocalFile, sRemoteFile, bBinaryTransfer, nContext)
  • ReadFile(hFile, sBuffer, nBufferSize)
  • RemoveDirectory(sDirectory)
  • RenameFile(sOldRemoteFile, sNewRemoteFile)
  • SetCurrentDirectory(sDirectory)
  • WriteFile(hFile, sBuffer, nBufferSize)
  • Implements
  1. PPJ.Runtime.49
  2. Internet

SalQuickFTP

PPJ.Runtime.Windows.QO.SalQuickFTP

PreviousSalHttpClientNextSalQuickHTTP

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows.QO

Assembly: PPJ.Runtime.49 (4.9.0.0)

FTP Control.

public class SalQuickFTP : SalCustomControl
Public Class SalQuickFTP
    Inherits SalCustomControl

Constructors

SalQuickFTP()

Default Constructor.

Properties

AppName

: invalid (Default: "")

FtpClient

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

Password

Methods

Closes an open file.

Parameter
Type
Description

hFile

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

Creates a directory on the FTP server.

Parameter
Type
Description

sDirectory

Deletes the specified file on the FTP server.

Parameter
Type
Description

sRemoteFile

Disconnects the current connection.

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

Parameter
Type
Description

sSearch

sDirs

Parameter
Type
Description

sSearchFile

saFileNames

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

Parameter
Type
Description

sSearchFile

sFileName

Parameter
Type
Description

sSearchFile

sFileName

nAttributes

dtCreationTime

dtLastAccessTime

dtLastWriteTime

nFileSize

Parameter
Type
Description

sFileName

Parameter
Type
Description

sFileName

nAttributes

dtCreationTime

dtLastAccessTime

dtLastWriteTime

nFileSize

Parameter
Type
Description

sDirectory

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 the code of the last error that was handled by the class.

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

Opens a file on an FTP server.

Parameter
Type
Description

sRemoteFile

nFlags

bFlags

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

Parameter
Type
Description

hFile

sBuffer

nBufferSize

Delete a specified directory on an FTP server.

Parameter
Type
Description

sDirectory

Rename a file on an FTP server.

Parameter
Type
Description

sOldRemoteFile

sNewRemoteFile

Changes to a different working directory on an FTP server.

Parameter
Type
Description

sDirectory

Writes information to an open file on an FTP server.

Parameter
Type
Description

hFile

sBuffer

nBufferSize

Implements

Name
Description

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

: (Default: "")

ServerName

: invalid (Default: "")

ServerPort

: invalid (Default: 21)

UserName

: invalid (Default: "")

WindowsClassName

: invalid (Default: "")

WindowsDLLName

: invalid (Default: "")

WindowsExStyle

: invalid (Default: 0)

WindowsStyle

: invalid (Default: 0)

CloseFile(hFile)

Returns: .

Connect(sServerName, nServerPort, sUserName, sPassword)

Returns: .

CreateDirectory(sDirectory)

Returns: .

DeleteFile(sRemoteFile)

Returns: .

Disconnect()

Returns: .

EnumDirectories(sSearch, sDirs)

Returns: .

EnumFiles(sSearchFile, saFileNames)

Returns: .

EnumFilesInfo(sSearchFile, saFileNames, naAttributes, dtaCreationTimes, dtaLastAccessTimes, dtaLastWriteTimes, naFileSizes)

Returns: .

FindFirstFile(sSearchFile, sFileName)

Returns: .

FindFirstFileInfo(sSearchFile, sFileName, nAttributes, dtCreationTime, dtLastAccessTime, dtLastWriteTime, nFileSize)

Returns: .

FindNextFile(sFileName)

Returns: .

FindNextFileInfo(sFileName, nAttributes, dtCreationTime, dtLastAccessTime, dtLastWriteTime, nFileSize)

Returns: .

GetCurrentDirectory(sDirectory)

Returns: .

GetFile(sRemoteFile, sLocalFile, bTransferBinary, nContext)

Returns: .

GetLastErrorCode()

Returns: .

GetLastErrorMessage()

Returns: .

OpenFile(sRemoteFile, nFlags, bFlags)

Returns: .

PutFile(sLocalFile, sRemoteFile, bBinaryTransfer, nContext)

Returns: .

ReadFile(hFile, sBuffer, nBufferSize)

Returns: .

RemoveDirectory(sDirectory)

Returns: .

RenameFile(sOldRemoteFile, sNewRemoteFile)

Returns: .

SetCurrentDirectory(sDirectory)

Returns: .

WriteFile(hFile, sBuffer, nBufferSize)

Returns: .

String
String
Int32
String
String
String
Int32
Int32
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalString
SalString
SalString
SalString
SalString
SalArray<SalString>
SalString
SalArray`1&
SalString
SalArray<SalString>
SalArray<SalNumber>
SalArray<SalDateTime>
SalArray<SalDateTime>
SalArray<SalDateTime>
SalArray<SalNumber>
SalString
SalString&
SalString
SalString&
SalNumber&
SalDateTime&
SalDateTime&
SalDateTime&
SalNumber&
SalString&
SalString&
SalNumber&
SalDateTime&
SalDateTime&
SalDateTime&
SalNumber&
SalString&
SalString
SalString
SalBoolean
SalNumber
SalString
SalNumber
SalBoolean
SalString
SalString
SalBoolean
SalNumber
SalNumber
SalString&
SalNumber
SalString
SalString
SalString
SalString
SalNumber
SalString
SalNumber
ISalWindow
String
SalFtpClient