Properties, 7 the ftp object, Status = setattributes ( filename, attributes ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual
Page 46: Status = write ( filename, contents ), Property description values

N
AURTECH
W
EB
B
ROWSER AND
T
ERMINAL
E
MULATION FOR
W
INDOWS
CE
AND
W
INDOWS
M
OBILE
CETerm Scripting Guide
Page 46
Use the File properties LastError or LastErrorMessge to get additional error
information.
status = SetAttributes ( fileName, attributes )
Set the attributes of the file. Return true for success, false for failure. Use the
File properties LastError or LastErrorMessge to get additional error information.
See Appendix 4 for attribute definitions.
status = Write ( fileName, contents )
Write contents to the named file. Return true for success, false for failure. Any
current contents are first deleted. The write is an atomic operation which opens
the file, writes all contents and closes the file. The File object does not support
the concept of an “open” file or writing parts of a file. To append to a file, use
Append. Use the File properties LastError or LastErrorMessge to get additional
error information.
Properties
The File object has the following properties.
Property
Description
Values
LastError
Returns the last error value associated
with the File object.
unsigned
integer
LastErrorMessage Returns a text message of the last error
associated with the File object. (read
only)
text
3.7
T
HE
FTP
O
BJECT
The FTP object provides access to the File Transfer Protocol (FTP) operations.
You must use the Login() method prior to using the other methods. The FTP
object is a property of the Network object; OS.Network.FTP.