Please enable JavaScript to view this site.

A-Shell Development History

xcall MIAMEX, MX_ATEFILEXFR , hostfile, pcfile, status

This function provides file transfer capability for the ATE/ATSD environment, where client-to server transfers are otherwise inconvenient due to the typical lack of an FTP service. It uses the keyboard channel to send the raw data from the client to the server, independent of routers, firewalls, etc. A-Shell 6.1.1357 or later is required on both the server and the ATE client.

The status parameter returns the number of bytes output to hostfile. Negative numbers constitute system error codes, or one of these:

Code

Description

-99

platform error (only supported on ATSD/ATE)

-98

invalid options

-97

unable to allocate memory

-96

timeout while waiting for data

-95

ATE client version too old

-94

File transferred but hash doesn't match original

-1

pcfile not found

0

No transfer because hostfile already matches pcfile

 

The feature is somewhat experimental at present, and may be expanded to support other variations.