Skip to main content

FTP PUT

Syntax

FTP PUT [~]filename | wildcard

Parameters

  • [~]filename | wildcard: The name of the local file to upload.
    • Use ~ before the filename to specify a file located in the current race directory (e.g., ~results.txt).
    • If ~ is omitted, the file is assumed to be in the main RunScore directory.
    • Wildcards (e.g., Result*.txt) can be used to upload multiple matching files.
    • IMPORTANT: The cumulative number of characters CANNOT be longer than 96.

Description

Uploads a specified local file (or files matching a wildcard) to the current directory on the FTP server.

Remarks

This command performs the actual file upload. Multiple FTP PUT commands can be used within a single FTP block. The upload runs in a separate thread, allowing RunScore to remain responsive.

Examples

To upload a specific file from the RunScore directory:

FTP PUT results.txt

To upload a file from the race directory:

FTP PUT ~results.txt

To upload all text files starting with "Result":

FTP PUT Result*.txt