Documentation

xpctarget.fs Class

Manage the folders and files on the target computer (not recommended)

Description

This class includes the folder methods from xpctarget.fsbase Class and implements file access methods used on the target computer.

The following limitations hold:

  • At most eight files can be open on the target computer at the same time.

  • The largest single file that you can create is 4 GB.

Constructor

ConstructorDescription

xpctarget.fs

Create file system object

Methods

These methods are inherited from xpctarget.fsbase Class.

MethodDescription

xpctarget.fsbase.cd

Change folder on target computer

xpctarget.fsbase.dir

List contents of current folder on target computer

xpctarget.fsbase.mkdir

Make folder on target computer

xpctarget.fsbase.pwd

Current folder path of target computer

xpctarget.fsbase.rmdir

Remove folder from target computer

These methods are specific to class fs.

MethodDescription

xpctarget.fs.diskinfo

Information about target computer drive

xpctarget.fs.fclose

Close open target computer file(s)

xpctarget.fs.fileinfo

Target computer file information

xpctarget.fs.filetable

Information about open files in target computer file system

xpctarget.fs.fopen

Open target computer file for reading

xpctarget.fs.fread

Read open target computer file

xpctarget.fs.fwrite

Write binary data to open target computer file

xpctarget.fs.getfilesize

Size of file on target computer

xpctarget.fs.removefile

Remove file from target computer

Was this topic helpful?