APPEND        Append one local file to another

Top  Previous  Next

Syntax

APPEND

[ src file ]  [ dest file ]

Arguments:

[ src name ]

Variable or string defining a file or path name; if no path is defined Robo-FTPs working folder is used.

 

[ dest name ]

Variable or string defining a file or path name; if no path is defined Robo-FTPs working folder is used.

Options:

none

 

 

 

 

 

 

 

Use this script command to append the source file to the destination file.

 

For example, the following appends a file to an existing file named file2 in a different folder.

 

APPEND "c:\test\file" "c:\test2\file2"

 

If test2 is an existing folder, the following appends a file to a file of the same name in a different folder.

 

APPEND "c:\test\file" "c:\test2"

 

Otherwise, file is appended to a file named test2 in the root folder of drive C:.

 

In any case where the destination file does not previously exist, the APPEND command performs a COPY function.

 

Wildcard characters are not permitted with this command. Use the DOSCMD script command if you need to copy, move, or append multiple files with a single command.

 

Related Command(s): COPY, DELETE, RENAME, WORKINGDIR