FTPit Pro

Transfer files to and from an FTP server

<- Back to FTPit Pro function list

FTPit_SendRemoteCommand

Description

This function is used to send FTP Commands directly to the FTP Server. If FTPit Pro doesn't have a specific function to do what you need, it may be possible to use this function to send your command. An example of this is using the SITE command to send UNIX commands, such as a "chmod", to an FTP Server that supports it. FTPit Pro sends exactly what you specify in the "Command" parameter directly to the FTP Server you are connected to.

Note: Caution should be exercised when using this function, as it could possibly leave FTPit Pro and/or the FTP Server in an unusual state. For example, you would not want to try to emulate a file upload, file download, or file listing with this function because those operations require a secondary Data Connection to be established. This function is only useful for sending commands to the FTP Server that immediately respond with a single result.

Return Type
Text
Format
FTPit_SendRemoteCommand ( Command )
Required Parameters
  • Command

    The FTP command to send to the FTP Server.