receive

Use the receive command to get (download) a copy of a file from remote system using SMT protocol. The remote system needs to have a copy of the Slave program (included in the Autolog release for Windows/DOS, UNIX, and AMOS platforms). (To upload a copy of a file from the remote system using SMT protocol, use the transmit command.)

At Autolog's command prompt, enter:
 

receive file name

That's all you need to do: Autolog will automatically start Slave on the remote system and the file transfer will begin.

You can rename the local copy of the file by using the format:
 

receive new local file=existing remote file

You can also send a batch or group of files by using wildcarding. For example:
 

receive ??file.txt
or
receive *.new=my*.txt

File Locations

Autolog looks in the directory you're currently in on the remote system for the files you want to get and puts the files to your current local directory, unless you specify a different directory path. Include the path for files that aren't in the current directory:
 
receive c:\usr\myfiles\*.*=d:\usr\yourfiles\*.txt

To get a file from one directory on the remote system to another directory on your system, you must include the path for both files. If you give only one path, that path will be used for both the local and remote files.

Files Specifications That Aren't Valid Locally

If you need to get a file with a name that is not valid on your local system, or if you need to indicate a path that doesn't exist or isn't valid on your local system, use two equal signs (==):
 
receive c:/usr/myfiles/toomanycharacters.new==LIB:file.old

You can receive only one file at a time using "==" syntax.

Options and Switches

The receive command supports these options:
 
alarm nocompress noerase packetsize timeout xnet

You can also use these switches with the receive command to restrict which files in a batch are received:
 
query  version hash  text
nodelete contig  seq Date and time switches