5.24.10 COPY

The COPY command is used to copy a file or folder on the Windows file server or to a specified file server.

Note: When copying a folder, the sub files cannot already exist.

Syntax:

Command

Keyword

Value

Developer notes

COPY

SERVER

value

Optional: File server.

DOMAIN

value

Optional. Windows domain.

USER

value

Optional. User.

PASSWORD

value

Optional. Password.

FROM

value

Required. Windows server file or folder.

TO

value

Required. Windows server file or folder.

TOSERVER

value

Optional. Windows server.
Default is value of SERVER.

 

Example

COPY FROM(/Shared/folder/folder2) TO(/Shared/folder/folder3)