# sox::FileTransfer

    sys::Obj
      sox::FileTransfer

`public class FileTransfer`

FileTransfer manages the state of a session's file transfer.

chunkSize

  `public short chunkSize`

file

  `public inline File file`

fileSize

  `public int fileSize`

get

  `public static const define int get`

mode

  `public byte mode`

nextChunk

  `public short nextChunk`

numChunks

  `public short numChunks`

offset

  `public int offset`

put

  `public static const define int put`

unused

  `public static const define int unused`

checkGet

  `public bool checkGet(SoxService service, SoxSession session)`

  Poll for work on a get. Attempt to send the next chunk of a file get.

checkPut

  `public bool checkPut(SoxService service, SoxSession session)`

  Poll for work on a put. Check if we need to send the close.

reset

  `public void reset()`

  Reset into a clean state for new session.