ftrack_api.accessor.server

class ftrack_api.accessor.server.ServerFile(resource_identifier, session, mode='rb')[source]

Representation of a server file.

__init__(resource_identifier, session, mode='rb')[source]

Initialise file.

flush()[source]

Flush all changes.

read(limit=None)[source]

Read file.

close()

Flush buffers and prevent further access.

seek(offset, whence=0)

Move internal pointer by offset.

tell()

Return current position of internal pointer.

write(content)

Write content at current position.