Skip to content

Client: Create file for reading #14

@jlee-r7

Description

@jlee-r7

something like this:

tree_id = client.tree_connect("\\\\hostname\\share")
client.read(tree_id, "file.txt")
# => "contents of file.txt"

needs to

  • send a CreateRequest with appropriate values
  • read the response, store the file_id therein
  • send a GetInfo request for that file_id
  • read the response, store the size
  • send a ReadRequest for that many bytes
  • return the value as a String

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions