The SalQuickFTP type exposes the following members.

Constructors

  NameDescription
Public methodSalQuickFTP
Default Constructor.

Methods

  NameDescription
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
(Inherited from SalCustomControl.)
Public methodCenterWindow
Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.
(Inherited from SalCustomControl.)
Public methodClearCursor
Clears a window's cursor.
(Inherited from SalCustomControl.)
Public methodCloseFile
Closes an open file.
Public methodConnect
Establish communication with an FTP server under the user and password specified. If the user name is null, the anonymous user is connected.
Public methodCreateDirectory
Creates a directory on the FTP server.
Public methodDeleteFile
Deletes the specified file on the FTP server.
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
(Inherited from SalCustomControl.)
Public methodDisableWindow
Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
(Inherited from SalCustomControl.)
Public methodDisconnect
Disconnects the current connection.
Protected methodDispose
Releases the unmanaged resources used by the SalQuickFTP and optionally releases the managed resources
(Overrides Control..::..Dispose(Boolean).)
Public methodEnableWindow
Enables keyboard and mouse input to a window.
(Inherited from SalCustomControl.)
Public methodEnumDirectories
Obtain an array of directory names based on a search path specified.
Public methodEnumFiles
Obtain an array of file names based on a search path specified.
Public methodEnumFilesInfo
Obtain an array of file names and all related file information based on a search path specified.
Public methodFindChild
This function finds a child window of a given name in the specified window.
(Inherited from SalCustomControl.)
Public methodFindFirstFile
Obtain the first file found within a specified search path.
Public methodFindFirstFileInfo
Obtain the first file found and related file information within a specified search path.
Public methodFindNextFile
Obtain the next file name that resides within the search path of the previous FindFirstFile call.
Public methodFindNextFileInfo
Obtain the next file name and related file information that resides within the search path of the previous FindFirstFileInfo call.
Public methodFormUnitsToPixels
Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.
(Inherited from SalCustomControl.)
Public methodGetClassName
Return the name of a window's class as a string.
(Inherited from SalCustomControl.)
Public methodGetControlType
Returns an object's type.
(Inherited from SalCustomControl.)
Public methodGetCurrentDirectory
Retrieve the current directory on the FTP server.
Public methodGetFile
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.
Public methodGetFirstChild
Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.
(Inherited from SalCustomControl.)
Public methodGetFont
Gets a window's font name, size, and enhancements.
(Inherited from SalCustomControl.)
Public methodGetLastErrorCode
Returns the code of the last error that was handled by the class.
Public methodGetLastErrorMessage
Returns the message of the last error that was handled by the class.
Public methodGetLocation
Returns a window's current position on the X and Y axes.
(Inherited from SalCustomControl.)
Public methodGetName()()()()
Gets the name of an object.
(Inherited from SalCustomControl.)
Public methodGetName(SalString%)
Gets the name of an object.
(Inherited from SalCustomControl.)
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
(Inherited from SalCustomControl.)
Public methodGetParent
Returns the handle of an object's parent window.
(Inherited from SalCustomControl.)
Public methodGetProperty(SalString)
Gets the value of a named property.
(Inherited from SalCustomControl.)
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
(Inherited from SalCustomControl.)
Public methodGetSize
Returns a window's size.
(Inherited from SalCustomControl.)
Public methodGetText(SalNumber)
Retrieves the text of a window.
(Inherited from SalCustomControl.)
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
(Inherited from SalCustomControl.)
Public methodGetWindowColor
Gets a window's color.
(Inherited from SalCustomControl.)
Public methodGetWindowState
Returns a window's current state.
(Inherited from SalCustomControl.)
Public methodHideWindow
Hides a window.
(Inherited from SalCustomControl.)
Public methodInvalidateWindow
Causes a window to be repainted.
(Inherited from SalCustomControl.)
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
(Inherited from SalCustomControl.)
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalCustomControl.)
Public methodIsVisible
Determines whether a window is currently visible.
(Inherited from SalCustomControl.)
Public methodKillTimer
Destroys an object's system timer.
(Inherited from SalCustomControl.)
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
(Inherited from SalCustomControl.)
Public methodOpenFile
Opens a file on an FTP server.
Public methodPixelsToFormUnits
Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.
(Inherited from SalCustomControl.)
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
(Inherited from SalCustomControl.)
Public methodPutFile
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.
Public methodReadFile
Read information from an open file residing on an FTP server.
Public methodRemoveDirectory
Delete a specified directory on an FTP server.
Public methodRenameFile
Rename a file on an FTP server.
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
(Inherited from SalCustomControl.)
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
(Inherited from SalCustomControl.)
Protected methodSetBoundsCore
Prevent the size from being changed.
(Overrides Control..::..SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).)
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalCustomControl.)
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalCustomControl.)
Public methodSetCurrentDirectory
Changes to a different working directory on an FTP server.
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
(Inherited from SalCustomControl.)
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
(Inherited from SalCustomControl.)
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
(Inherited from SalCustomControl.)
Public methodSetCursorFile
Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.
(Inherited from SalCustomControl.)
Public methodSetFocus
Sets the focus to a specified window.
(Inherited from SalCustomControl.)
Public methodSetFont
Sets a window's font, font size, and font enhancements.
(Inherited from SalCustomControl.)
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalCustomControl.)
Public methodSetProperty
Sets the value of a named property.
(Inherited from SalCustomControl.)
Public methodSetSize
Resizes a window.
(Inherited from SalCustomControl.)
Public methodSetText
Sets the text of a window.
(Inherited from SalCustomControl.)
Public methodSetTimer
Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.
(Inherited from SalCustomControl.)
Public methodSetWindowColor
Sets a window's color.
(Inherited from SalCustomControl.)
Public methodShowWindow
Makes a window visible.
(Inherited from SalCustomControl.)
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalCustomControl.)
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalCustomControl.)
Public methodUpdateWindow
Forces the update of a window.
(Inherited from SalCustomControl.)
Public methodWinHelp
Starts the Windows help system.
(Inherited from SalCustomControl.)
Protected methodWndProc
Redirect Windows message to the implementation object.
(Inherited from SalCustomControl.)
Public methodWriteFile
Writes information to an open file on an FTP server.
Public methodYield
Processes messages for this control.
(Inherited from SalCustomControl.)

Fields

  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.
(Inherited from SalCustomControl.)

Properties

  NameDescription
Public propertyAppName
Public propertyBorderStyle
Gets or sets the border style for the control.
(Inherited from SalCustomControl.)
Protected propertyCreateParams
Returns the creation parameters structure for this custom control.
(Inherited from SalCustomControl.)
Public propertyFtpClient
Returns the single instance og the ftp client. It is created when it's needed.
Public propertyHScroll
Gets or sets a value indicating whether the horizontal scroll bar is visible.
(Inherited from SalCustomControl.)
Public propertyNamedProperties
Returns the collection of named properties.
(Inherited from SalCustomControl.)
Public propertyPassword
Public propertyServerName
Public propertyServerPort
Public propertyUserName
Public propertyWindowsClassName (Overrides SalCustomControl..::..WindowsClassName.)
Public propertyWindowsDLLName (Overrides SalCustomControl..::..WindowsDLLName.)
Public propertyWindowsExStyle (Overrides SalCustomControl..::..WindowsExStyle.)
Public propertyWindowsStyle (Overrides SalCustomControl..::..WindowsStyle.)
Public propertyVScroll
Gets or sets a value indicating whether the vertical scroll bar is visible.
(Inherited from SalCustomControl.)

Events

  NameDescription
Public eventMessageActions (Inherited from SalCustomControl.)

See Also