Previous: FTP Upload Directive File - v1.1, Up: Automated FTP Uploads


9.5.4 FTP Upload Directive File - v1.0

As of June 2006, the upload script is running in compatibility mode, allowing uploads with either version 1.1 or version 1.0 of the directive file syntax. Support for v1.0 uploads will be phased out by the end of 2006, so please upgrade to v1.1.

The directive file should contain one line, excluding the clearsigned data GPG that inserts, which specifies the final destination directory where items (1) and (2) are to be placed.

For example, the foo.tar.gz.directive.asc file might contain the single line:

     directory: bar/v1

This directory line indicates that foo.tar.gz and foo.tar.gz.sig are part of package bar. If you were to upload the triplet to /incoming/ftp, and the system can positively authenticate the signatures, then the files foo.tar.gz and foo.tar.gz.sig will be placed in the directory gnu/bar/v1 of the ftp.gnu.org site.

The directive file can be used to create currently non-existent directory trees, as long as they are under the package directory for your package (in the example above, that is bar).