Omron CJ1W-ETN21 Network Card User Manual


 
43
Remote Mail Command Details Section 3-4
FileWrite (File Write)
Function Writes the attached file to the CPU Unit's EM file memory or a Memory Card
mounted in the CPU Unit.
Command Format
Response Format
Subject: FileWrite
Notation Description Omission
Body: Para1:Destination folder
name
Example)
Specifying subdirectory OMRON in
the Memory Card:
Para1:MEMCARD\OMRON
Specifies the destination folder.
MEMCARD specifies the Memory
Card's root directory.
EM specifies the EM file memory's
root directory.
Note If this parameter is omitted,
the default write destination is
the Memory Card's root direc-
tory.
Can be omitted.
Para2:Overwrite=OK or NG
Example)
Allowing existing file to be overwrit-
ten:
Para2:Overwrite=OK
Specifies whether or not an existing
file may be overwritten.
• To allow an existing file with the
same filename to be overwritten,
enter "Overwrite=OK."
• To prevent an existing file with the
same filename from being overwrit-
ten, enter "Overwrite=NG."
Note If this parameter is omitted,
overwriting is prohibited.
Can be omitted.
Attached file: Any file Any file (up to 1 MB) can be
attached.
Note The file can be up to 1 MB in
size.
Note If the Receive file with speci-
fied extension only Option is
selected in the Receive Mail
Tab, only files with the speci-
fied filename extensions can
be written.
Cannot be omitted.
Subject: Re: FileWrite
Response contents Description
Body: Response Code:@@@@ Refer to 3-4-2 Response List.
Response Status:@@@@ Refer to 3-4-2 Response List.
> Para1:Destination folder name Included only if this parameter was specified.
> Para2:Overwrite=OK or NG Included only if this parameter was specified.
Attached file: None