Lines Matching refs:file
1 This file tries to document file related requests a client can make
28 RECV - Retrieve a file from device
29 SEND - Send a file to device
30 STAT - Stat a file
41 2. A four-byte integer representing file mode.
42 3. A four-byte integer representing file size.
44 5. A four-byte integer representing file name length.
45 6. length number of bytes containing an utf-8 string representing the file
51 The remote file name is split into two parts separated by the last
53 encoded file mode containing the permissions of the file on device.
55 Note that some file types will be deleted before the copying starts, and if
56 the transfer fails. Some file types will not be deleted, which allows
60 After this the actual file is sent in chunks. Each chunk has the following
63 follows chunk size number of bytes. This is repeated until the file is
66 When the file is transferred a sync request "DONE" is sent, where length is set
67 to the last modified time for the file. The server responds to this last
73 Retrieves a file from device to a local file. The remote path is the path to
74 the file that will be returned. Just as for the SEND sync request the file
77 until the file is transferred. Each chuck will not be larger than 64k.
79 When the file is transferred a sync response "DONE" is retrieved where the