Please enable JavaScript to view this site.

A-Shell Development History

ATSYNC.LIT 1.3(114) enhancement: new /F{ILES} switch allows you to replace the HostDir parameter with a file containing the list of files to transfer:

.ATSYNC HostDir{,PCdir}/FILES

The layout of the HostDir file should be a series of lines in the following format:

hostfile{,pcfile}

Each hostfile specification may be in either AMOS or native format and may be partially or fully qualified. The pcfile specification can be omitted, in which case the files will be transferred to the directory specified by the PCdir parameter on the ATSYNC command line. To override that, provide a fully qualified PC filespec in the pcfile parameter.

You may insert a ";" at the start of the line to comment it out.

ATE will create a log file called %ATECACHE%\ateftp.log for each file transfer, using the format:

status,hostfile,pcfile

Where status will be 0 for a successful transfer, else an error code. Hostfile and pcfile will be the fully qualified host and PC file specifications for the transfer.

If you specify the ATSYNC /L switch, the ateftp.log file contents will be appended to the list file. Otherwise, you can retrieve it manually using AG_FTP or some other method.