Please enable JavaScript to view this site.

A-Shell Reference

Navigation: GDI Printing > Print Directives > META

FTP

Scroll Prev Top Next More

//META, FTP, dirflag, hostpath, localpath, {flags}

If the META FTP directive is seen by APEX running within ATE, it will attempt to perform an FTP transfer of hostfile to/from localpath.

Note that this directive is a sub-command of META, which see for more information.

Parameters

dirflag

Direction code; see AG_FTP for dirflag values and meanings.

hostpath

should be in native format, to be understood by the FTP server on the host.

localpath

should be in PC format, or it may use the special syntax "@.xxx" where xxx is the desired file extension. The "@." will be replaced by the complete filespec of the file currently being printed or previewed, minus its extension. This is useful for sending printfile sidecar files which will be matched up later based on having the same filename, but where you don't know the complete filename that will be assigned by ATE or APEX to the printfile. (ATE/APEX typically create versions of the original file, in the Documents\APEX directory, with a unique numeric suffix.)

flags

The optional flags argument may be set to 1 to cause any FTP errors to be display in an error message dialog. If this option is not set, any such failure will go unreported, which might be preferable in the context of printing.