Info
Description
Gives the file position and the file size for the given file handle.
Format
I
fh
Parameters
fh
is a file handle (1 - 4). Use the Free Handle command to get a free file handle.
Response Format
response | See below |
Enn | An error occurred |
response
is in the following format:
pp..ppp/ss..sss
where:
pp..ppp
is the current byte position in the filess..sss
is the file size.
IMPORTANT: pp..ppp
and ss..sss
are separated by a forward slash ‘/’.
Example
For a file handle whose byte position is 3250 for a file which is a total of 560700 bytes:
I 1
3250/560700