Xbasic

FTP Functions

Description

Alpha Anywhere provides the following FTP functions.

Name
Description
FTP_FILE_XFER Function

Transfers a file using FTP. The FTP_FILE_XFER() function is a lower-level function that is wrapped by FTP_GET_FILE()and FTP_PUT_FILE().

FTP_GET_FILE Function

Uploads a file using FTP

FTP_GET_LIST Function

The FTP_GET_LIST() function retrieves a list of files in a directory over a FTP connection.

FTP_GET_NLIST Function

The FTP_GET_NLIST() function returns a list of files in a directory, i.e. retrieves a directory listing from a FTP server

FTP_MakeCommandList Function

Creates command script for use by ftp_script_run() to transfer all files in a folder and its subfolder.

FTP_PUT_FILE Function

Uploads a file using FTP

FTP_PUT_FILE_MODAL Function

The FTP_PUT_FILE_MODAL() function sends a file in the foreground over a FTP connection. Calling script pauses till transfer is complete.

FTP_PUT_FILE_MULTIPLE Function

Upload a file to a FTP server. The FTP_PUT_FILE_MULTIPLE() function transfers multiple files via FTP. The relative folder structure of the source files is preserved on the target computer.

FTP_SCRIPT_RUN Function

Run an Alpha Anywhere FTP script. Alpha Anywhere has a simple "FTP language" that can be used to write scripts that execute various FTP commands such as uploading and downloading files, making folders on the remove FTP target, renaming and deleting files and folders, etc. This function executes a FTP script created by FTP_MakeCommandList().

FTP_SCRIPT_RUN_SILENT Function

Run an Alpha Anywhere FTP script. Alpha Anywhere has a simple "FTP language" that can be used to write scripts that execute various FTP commands such as uploading and downloading files, making folders on the remove FTP target, renaming and deleting files and folders, etc. This function executes a FTP script created by FTP_MakeCommandList() without a user dialog.

ftp_upload_curl Function

Uploads files to a server using CURL to execute the FTP command.