NetFileShare Error Codes
100
Positive response (no other data)
200
A file stream is being sent by the server. The next line of the text contains the byte count of the
file expressed as a decimal number preceded by the string "Byte Count" followed by a space.
The data is then sent. The byte count is the exact size of the stream.
210
Multi line text response text is delimited by "Boundary " lines one before the first data line and one after the last line of data. The boundary string should contain a string of at least 64 characters .
205
Where a stream is about to be sent block by block. The next line from the server is the estimated size of the stream. This value may be zero but should contain an estimate of the stream size. The next text line contains the block header; Client Hash =MD5 user:password:Realm) Realm = server supplied string "ST" = server token returned by server when client sets "user" with server. Data Hash=MD5 (data) is a MD5 Hex string calculated on the data block or 32 "0" chars if no data
After the header will follow exactly the number of bytes of data. The 206 header is sent for every block.
The transfer is complete when the byte count is """"0"""".
206
CI:BC:Hash Where "CI" is an ascending positive decimal number (Integer) that is incremented from "0" to indicate the block id being sent.
"BC"is the number of the bytes in the data block expressed as a decimal integer value "HASH" is a 32 Hex Character MDS based hash.
A = "MD5(BI:Client Hash:BC)"
Hash = MD5(A:Data hash:st)
220
The next text line contains the results of the request
305
This is a positive response to a request to send a stream of unknown length to the server block by block. The server also sends second line containing the block size to be used. This may differ from the block size requested by the client. "Block size: xxxxx"
310
The server is waiting for the client to send a stream this in response to an upload request from the client
300
The stream being up loaded has been received by the server.
400
Unable to locate specified resource
401
Client is not authorized to perform the requested operation
403
Invalid parameter or command syntax
404
The server security settings prohibit the requested operation or op invalid
405
The requested operation could not be completed without violating a client supplied constraint.
500
The requested operation caused a system error.