Properties, Status = logout ( ), Status = putfile ( localname, remotename ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 49: Status = renamefile ( existingname, newname ), Status = setdirectory ( newworkingdirectory ), Property description values

Advertising
background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 49


success or non-zero otherwise. Use the FTP properties LastError and
LastErrorText to get additional error information.

status = Logout ( )

Close an open FTP connection. Return 0 on success or non-zero otherwise.
Use the FTP properties LastError and LastErrorText to get additional error
information.

status = PutFile ( localName, remoteName )

Copy the named local file to the remote name. Return 0 on success or non-zero
otherwise. Use the FTP properties LastError and LastErrorText to get additional
error information.

status = RenameFile ( existingName, newName )

Rename an existing remote file to the newName. Return 0 on success or non-
zero otherwise. Use the FTP properties LastError and LastErrorText to get
additional error information.

status = SetDirectory ( newWorkingDirectory )

Set the current working directory on the remote host to the specified directory.
Return 0 on success or non-zero otherwise. Use the FTP properties LastError
and LastErrorText to get additional error information.

Properties

The FTP object has the following properties.

Property

Description

Values

ASCIIMode

Use ASCII mode for file transfers if true.
Use binary mode if false. ASCII mode
may change the line-termination
characters in files. This setting may be
changed while a session is connected.
Default is false.

true or
false

HostName

Hostname of the current active session.
(read only)

string

Advertising
This manual is related to the following products: