
Remote Mail Command Details |
| Section | ||||
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 |
|
|
|
| ||
|
|
|
|
|
| |
Subject: |
|
|
|
|
| |
FileWrite |
|
|
|
| ||
|
|
|
|
|
|
|
|
| Notation | Description | Omission |
|
|
| Body: | Para1:Destination folder | Specifies the destination folder. | Can be omitted. |
|
|
|
| name | • MEMCARD specifies the Memory |
|
|
|
|
| Example) | Card's root directory. |
|
|
|
|
| Specifying subdirectory OMRON in | • EM specifies the EM file memory's |
|
|
|
|
| the Memory Card: | root directory. |
|
|
|
|
| Para1:MEMCARD\OMRON | Note If this parameter is omitted, |
|
|
|
|
|
| the default write destination is |
|
|
|
|
|
| the Memory Card's root direc- |
|
|
|
|
|
| tory. |
|
|
|
|
|
|
|
|
|
|
|
| Para2:Overwrite=OK or NG | Specifies whether or not an existing | Can be omitted. |
|
|
|
| Example) | file may be overwritten. |
|
|
|
|
| • To allow an existing file with the |
|
|
| |
|
| Allowing existing file to be overwrit- |
|
|
| |
|
| same filename to be overwritten, |
|
|
| |
|
| ten: |
|
|
| |
|
| enter "Overwrite=OK." |
|
|
| |
|
| Para2: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. |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
Attached file: | Any file | Any file (up to 1 MB) can be | Cannot be omitted. |
|
| |
|
|
| 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. |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
Response Format |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Subject: Re: FileWrite
|
|
| Response contents | Description |
|
Body: | Response | Code:@@@@ | Refer to |
| |
| Response | Status:@@@@ | Refer to |
| |
| > | 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
43