Commits


make pwdfid a variable


fix two bugs in expect - looking for Terror doesn't make sense, it's Rerror - consume the tag before reading the error string


simplify walk_path interface


ftp: draft `cd' command


implement barebone get to implement the get command: - implement do_stat and do_read - implement a simple progress bar


add tstat


ls: use fmt_scaled to print file size


import compat for fmt_scaled


tweak ls output


refactor stat parsing in its own function


fmt


- [regress-extra] added test for copying and moving a file; - [regress-extra] fixed 'make-huge-data' so that returns always the same value.


use shell prompts consistently in the README.md


- [regress-extra] fixed test 'test-read-a-tiny-amount-of-data', a condition signalled was expected.


reply with an Rerror if Rread/Rstat would overflow msize Other replies have either a fixed reply size or a (relatively small) maximum reply size. Rread and Rstat on the other hand are easy to abuse and generate replies longer that msize. I don't care if a client manage to negotiate a ridiculy small msize (maybe will add a minimum value in tversion in the future), but I feel that Rread and Rstat need a small safety net.