FILETRANSFER

Copy files from internal memory

Platform:

PwrPak7

PwrPak7M variants do not support this command.

Use this command to copy files from internal memory to a USB stick. This command can also be used to cancel the file transfer in progress.

This command returns a response immediately to show that the copy/move operation started. However, the actual transfer of files will take some time. Use the FILETRANSFERSTATUS log to monitor the status of the file transfer.

To view the names of the files in memory, log the FILELIST log.

Message ID: 2109

Abbreviated ASCII Syntax:

FILETRANSFER FileTransferOperation <FileName>

ASCII Examples:

FILETRANSFER COPY ALL     – Copies all files on internal memory

FILETRANSFER MOVE BMHR16460033T_2017-3-16_21-18-48.log

FILETRANSFER CANCEL     – Cancels file transfer operation

Field

Field Type

ASCII Value

Binary Value

Description

Binary Format

Binary Bytes

Binary Offset

1

Command header

-

-

FILETRANSFER header

This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1).

-

H

0

2

FileTransferOperation

1

COPY

Copy the file

Enum

4

H

2

MOVE

Copy the file and then delete file from internal memory

3

CANCEL

Cancels the file transfer currently in progress

3

FileName

 

The name of the file to be moved or copied.

To move or copy all of the files on internal memory, use ALL.

String

Variable

H+4

When a FILETRANSFER CANCEL ALL command is issued, the file currently being transferred, and any pending files, are not transferred to the destination media. Any files already transferred are unaffected.