Classes | |
class | FswFile |
Functional interface to a generic file in FSW. More... | |
class | FswFileFromData |
A memory resident FSW file interface. More... | |
class | FswFileFromDisk |
A disk resident FSW file interface. More... | |
class | FswFileID |
Define a Flight Software File ID. More... | |
class | FswDirectoryItem |
Representation of an item in an FSW directory. More... | |
class | FswDirectory |
Representation of a FSW directory. More... | |
Functions | |
def | arbitraryFileID |
Retrieve a semi-arbitrary FSW file Number to be used as input for FswFileID(). | |
def | arbitraryFmxID |
Retrieve a semi-arbitrary FMX id to be used in creating an FMX header on the fly. | |
def | addFmxHeader |
Add an fmx header to a file. | |
def | downloadFile |
Download a file from the LAT. | |
def | downloadFileToSSR |
Download a file from the LAT. | |
def | uploadFileFromDisk |
Upload a disk resident file with an FMX header. | |
def | uploadFileFromData |
Upload a memory resident file with an FMX header (Typically received from MOOT). | |
def | cancelUpload |
cancel any in process uploads | |
def | uploadFile |
Upload a memory resident fsw file object. | |
def | __uploadChunk |
def | dumpDirectory |
Download a directory listing from the LAT. | |
def | createDirectory |
create a directory on a LAT file system | |
def | deleteDirectory |
Delete a directory on a LAT filesystem. | |
def | deleteFile |
Delete a file on a LAT filesystem. | |
def | copyFile |
Copy a file on any LAT unit. | |
def | __checkLastCommandStatus |
Variables | |
string | __facility__ = "Online" |
string | __abstract__ = "File tools for ScriptEngine classes" |
string | __author__ = "J. Panetta <panetta@SLAC.Stanford.edu> SLAC - GLAST LAT I&T/Online" |
string | __date__ = "2005/11/1 00:08:27" |
string | __updated__ = "$Date: 2006/04/27 02:06:03 $" |
string | __version__ = "$Revision: 1.5 $" |
string | __release__ = "$Name: HEAD $" |
string | __credits__ = "SLAC" |
int | FSW_DEVICE_BOOT = 0 |
int | FSW_DEVICE_RAM = 1 |
int | FSW_DEVICE_EE0 = 2 |
int | FSW_DEVICE_EE1 = 3 |
int | FSW_DEVICE_TMP = 4 |
int | FSW_DEVICE_USR0 = 5 |
int | FSW_DEVICE_USR1 = 6 |
list | FSW_DEVICE_NAMES = ["boot", "ram", "ee0", "ee1", "tmp", "usr0", "usr1" ] |
int | FSW_UNIT_SIU = 0 |
int | FSW_UNIT_EPU0 = 1 |
int | FSW_UNIT_EPU1 = 2 |
int | FSW_UNIT_EPU2 = 3 |
int | FSW_UNIT_EPU3 = 4 |
list | FSW_UNIT_NAMES = [ 'SIU ', 'EPU0', 'EPU1', 'EPU2', 'EPU3' ] |
int | INT_DIR_LATC = 10 |
int | INT_DIR_LCI = 11 |
int | FILETOOL_STANDARD_TIMEOUT = 60 |
string | FILETOOL_TMP_PATH = "/tmp" |
tuple | FILETOOL_TMP_PATH = os.path.normpath(os.path.join('C:/', 'TEMP')) |
FILETOOL_HDR_ALLOW = True | |
string | FSW_ADD_HEADER_CMD = 'file_hdr_prefix' |
string | FSW_COMPRESS_CMD = 'zcompress' |
FILETOOL_HDR_ALLOW = False | |
FSW_ADD_HEADER_CMD = None | |
FSW_COMPRESS_CMD = None | |
int | FILETOOL_ARBITRARY_FILENUMBER = 0 |
int | FILETOOL_ARBITRARY_FMXID = 0x20000000L |
|
Definition at line 778 of file fileTools.py. |
|
Definition at line 629 of file fileTools.py. |
|
Add an fmx header to a file. compressing on the fly if requested
Definition at line 375 of file fileTools.py. |
|
Retrieve a semi-arbitrary FSW file Number to be used as input for FswFileID().
Definition at line 87 of file fileTools.py. |
|
Retrieve a semi-arbitrary FMX id to be used in creating an FMX header on the fly.
Definition at line 102 of file fileTools.py. |
|
cancel any in process uploads
Definition at line 547 of file fileTools.py. |
|
Copy a file on any LAT unit.
Definition at line 760 of file fileTools.py. |
|
create a directory on a LAT file system
Definition at line 708 of file fileTools.py. |
|
Delete a directory on a LAT filesystem.
Definition at line 722 of file fileTools.py. |
|
Delete a file on a LAT filesystem.
Definition at line 746 of file fileTools.py. |
|
Download a file from the LAT.
Definition at line 437 of file fileTools.py. |
|
Download a file from the LAT.
Definition at line 498 of file fileTools.py. |
|
Download a directory listing from the LAT.
Definition at line 641 of file fileTools.py. |
|
Upload a memory resident fsw file object.
Definition at line 559 of file fileTools.py. |
|
Upload a memory resident file with an FMX header (Typically received from MOOT).
Definition at line 529 of file fileTools.py. |
|
Upload a disk resident file with an FMX header.
Definition at line 511 of file fileTools.py. |
|
Definition at line 17 of file fileTools.py. |
|
Definition at line 18 of file fileTools.py. |
|
Definition at line 23 of file fileTools.py. |
|
Definition at line 19 of file fileTools.py. |
|
Definition at line 16 of file fileTools.py. |
|
Definition at line 22 of file fileTools.py. |
|
Definition at line 20 of file fileTools.py. |
|
Definition at line 21 of file fileTools.py. |
|
Definition at line 82 of file fileTools.py. |
|
Definition at line 84 of file fileTools.py. |
|
Definition at line 77 of file fileTools.py. |
|
Definition at line 73 of file fileTools.py. |
|
Definition at line 63 of file fileTools.py. |
|
Definition at line 69 of file fileTools.py. |
|
Definition at line 67 of file fileTools.py. |
|
Definition at line 78 of file fileTools.py. |
|
Definition at line 74 of file fileTools.py. |
|
Definition at line 79 of file fileTools.py. |
|
Definition at line 75 of file fileTools.py. |
|
Definition at line 41 of file fileTools.py. |
|
Definition at line 43 of file fileTools.py. |
|
Definition at line 44 of file fileTools.py. |
|
Definition at line 48 of file fileTools.py. |
|
Definition at line 42 of file fileTools.py. |
|
Definition at line 45 of file fileTools.py. |
|
Definition at line 46 of file fileTools.py. |
|
Definition at line 47 of file fileTools.py. |
|
Definition at line 51 of file fileTools.py. |
|
Definition at line 52 of file fileTools.py. |
|
Definition at line 53 of file fileTools.py. |
|
Definition at line 54 of file fileTools.py. |
|
Definition at line 55 of file fileTools.py. |
|
Definition at line 50 of file fileTools.py. |
|
Definition at line 60 of file fileTools.py. |
|
Definition at line 61 of file fileTools.py. |