.get

.get server:[[<relative_path>/]file/]file [[[<relative_path>/]file/]file]

Use the .get command to transfer a file from one logical server to another. The .get operation runs from the current server/path and retrieves the file from the specified server/path. The destination path name is relative to the step's current working directory. The source path name is relative to the specified server base path. Server must specify a logical server that allows the .get operation for files (see Enabling file copying on a server resource). Only single files may be transferred.

The path specification can include environment variables. This capability allows you to specify files relative to the path used by a specific job. See the description of paths used by jobs in Working directories for jobs.

If the server name you are using has spaces in it, put the server name and the path to the file in quotes. Example: .get [<relative_path>/]"file server:[[<relative_path>/]file]"

The transfer is not fast, so you may want to choose a different method to transfer large files. Expect speeds of no more than 40 KB per second; a 70 MB file could take 45 minutes to an hour to transfer.

Note: If the destination file already exists, it is overwritten without warning.

Feedback