4 Msg ID | Sending side | Description
5 --------|--------------|----------------------------------
6 00 | Ami/PC | Ask for next block
7 01 | Ami/PC | Transfer cancelled
8 02 | Ami/PC | Initialisation / Init response
9 03 | Ami/? | Multipart header
10 04 | Amiga | EOF (no payload)
11 05 | Amiga | Next data block
13 08 | Amiga | File already exists (when trying to write with 0x66)
14 09 | Amiga | Size ? (response to 0x6c)
15 0a | Amiga | Close response
16 0b | Amiga | Format response?
18 64 | PC | List directory
20 66 | PC | File/folder write
21 67 | PC | File/folder delete (recursively)
22 68 | PC | File rename (name changes) (works on drives, too?)
23 69 | PC | File move (path changes)
25 6b | PC | Set attributes and comment
26 6c | PC | Request size on disk (?)
28 6e | PC | Format disk (needs Kickstart 2.0 or newer)
38 ----------------------
55 67 - Delete file/folder
56 ------------------------
61 -------|--------------------
65 Then, read type 0 for confirmation.
66 Then, sendClose() (0xa response: 5x 00).
68 If Path is a folder, it will be deleted together with its contents.
71 68 - Rename file/folder
72 ------------------------
77 -------|--------------------
78 n | Path (including old file name)
80 n | New file name (without path)
83 Then, read type 0 for confirmation.
84 Then, sendClose() (0xa response: 5x 00).
88 ----------------------
93 -------|--------------------
94 n | Path (including old file name)
96 n | New path to contain file (folder without trailing slash or file name)
100 Then, read type 0 for confirmation.
101 Then, sendClose() (0xa response: 5x 00).
103 If Path is a folder, it will be moved together with its contents.
104 This command appears to work across devices.
107 6a - Copy file/folder
108 ----------------------
113 -------|--------------------
114 n | Path (including old file name)
116 n | New path to contain file (folder without trailing slash or file name)
120 Then, read type 0 for confirmation.
121 Then, sendClose() (0xa response: 5x 00).
123 If Path is a folder, it will be moved together with its contents.
124 This command appears to work across devices.
127 6b - Set attributes and comment
128 --------------------------------
133 -------|--------------------
139 4 | Checksum? (seems to be 0x00000000 if comment empty)
141 Then, read type 0 for confirmation.
142 Then, sendClose() (0xa response: 5x 00).
145 6c - Request size on disk (?)
146 ------------------------------------
151 -------|--------------------
155 Then, read type 0 for confirmation.
156 Then, read type 9 for 12 bytes of payload (### TODO ###).
157 Then, send type 0 to request more data (no payload).
158 Then, read type 9 for 12 bytes of payload (### TODO ###).
159 Then, send type 0 to request more data (no payload).
160 Then, read type 0 signaling end of attributes (no payload).
161 Then, sendClose() (0xa response: 5x 00).
165 Then, read type 0 for confirmation.
166 Then, read type 0 signaling end of attributes (no payload).
167 Then, sendClose() (0xa response: 5x 00).
176 Then, read type 0x0a for confirmation (typical payload: 5 bytes of 0x00).
178 This is used to finish an operation, such as a directory listing
194 -------|--------------------
198 Then, read type 0 for confirmation.
199 Then, sendClose() (0xa response: 5x 00).
201 The host will create a new folder in the given path, together with a
203 The folder name cannot be chosen, and will be something like "Unnamed1".
205 To create a folder with a specific name, use 0x66.
206 Note that 0x66'ing a folder does not seem to set its time.