Difference between revisions of "Command:31"

From Awesome Baozam
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== [[cmd:31|GET filename(s) from device]] ==
+
== [[cmd:31|GET filesize(s) from device]] ==
  
 
  1  cmd type
 
  1  cmd type
 
  2  cmd id // set by server
 
  2  cmd id // set by server
 
  1  filename count // max 256
 
  1  filename count // max 256
{{{1|filename}}}*
+
filename<nowiki>[</nowiki>*]
 
  wl  filename length
 
  wl  filename length
 
  c*  filename
 
  c*  filename
  
 
<noinclude>
 
<noinclude>
 +
== Error reports ==
 +
*  [[cmd:38]]
 +
 
{{cmd:32}}
 
{{cmd:32}}

Latest revision as of 12:30, 9 September 2016

GET filesize(s) from device

1  cmd type
2  cmd id // set by server
1  filename count // max 256

filename[*]

wl  filename length
c*  filename


Error reports

Response to GET filesize(s) from device

1  cmd type
2  cmd id // set by server
1  file info count // max 256

file info[*]

wl  filename length
c*  filename
wl  file size
    positive value - real file size in bytes
    0 - file not exists
if file size != 0 then include file hash info