FTP and FTP/s Hosts
The generic FTP and FTP/s hosts enable a user to fully specify a client file transfer interface to an FTP server. If at all possible, use a pre-configured host specific to the target server; this will save the effort of having to research, specify, and then debug the interface.
The generic FTP host provides an interface over non-secure FTP. If you or your trading partner requires Secure Socket Layer (SSL) FTP, use the generic FTP/s host.
Not all FTP servers will support or require the full set of host commands allowed by VersaLex. At a minimum, the server must support PUT and/or GET. The following action commands are available on VersaLex:
| Command | Purpose | Underlying FTP method | |
|---|---|---|---|
| Host commands | PUT | Send one or more files to the host | STOR | 
| GET | Receive one or more files from the host | RETR | |
| DIR | Get a directory listing of available files from the host | LIST | |
| CD | Changes the current directory on the host. | CHDIR | |
| QUOTE command | Sends a raw command to the server | command | |
| SITE | Sends a site specific command to the server | SITE | |
| TYPE | Sets file data type to ASCII or BINARY | TYPE | |
| Local commands | SYSTEM | Execute a local system command | - | 
| WAIT | Pause | - | |
| SET | Sets a property | ||
| CLEAR | Clears a string property | ||
| LCOPY | Copy one or more local files | - | |
| LDELETE | Delete one or more local files | - | |
| LREPLACE | Replace bytes in one or more local files | - | |
| CHECK | Check for a transfer, file, or directory (VLTrader and Harmony only) | - | |
| SCRIPT | Execute a JavaScript File (VLTrader and Harmony only) | - | 
