Commits
- Commit:
dd647997d47ec5a9521faa59bf7628c9cab5334d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
__dead before the type
- Commit:
9f134f934141bdf659dd5ee010687eb66d6bdc0b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: accept an optional 9p:// prefix in the connstring
- Commit:
514e8d4318a37182f68029dbe82d2580ac2e4451
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add note to drop argv[1] handling after 0.3
- Commit:
ca14d066819c8d3633e5f831f5807af2a9a5e427
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: for bell mode print \a to stderr
- Commit:
ab9f44f71e75a41986e8afce610cd446c5aaabac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: deprecate -c
it's useless as -C already implies it and -C must be use when connecting
with TLS. To be definitely removed after 0.3.
- Commit:
df9bb54d629f5085f152e8d6d5f4d098a2adfba2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add -o to chose the path where to save the named file
- Commit:
5d0dedb3fb1363a2f04e15ddc46ea427e40db91c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: print diognistic messages to stderr
excluding the one from cmd_*
- Commit:
14ae3944ec7b3c26fedacdad6a3bea52cd1eb69e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: automatic cd or fetch on the given path
before the given path was used for Tattach. Turns out at least u9fs
doesn't seem to use that field for the initial directory (not sure if it
should). kamiftp now always issues a Tattach with aname="/" and then
does a Twalk on the path: if it names a directory, it becomes the remote
working directory like a `cd' was issued, if it names a file it is
fetched and kamiftp quits.
- Commit:
2c50e0f6595eb735d3345687359274f63b9d7fbb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: always use "/" for attach
- Commit:
2afde960164d9b7c1c8e660fa08f99299d7bd5f3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: use the [user@]host[:port][/path] syntax
instead of taking the path as a separate argument. For some time the
old style will be supported.
- Commit:
8f7253b29f275cfc3fd6111a54ce1cdd6622d1ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor kamiftp internals
use a FILE (constructed either via fdopen over a socket or funopen
over libtls) for remote I/O
- Commit:
7bafb2fd590c5e1b2ebf342df0c431ff4ca6b74c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ftp: issue slightly smaller requests to please u9fs
u9fs like to return "i/o count too large" on reads/writes that exceeds
msize - 24. seems arbiratry, as in theory we should be able to issue a
Tread/Twrite for msize - (HEADERSIZE + 4) = msize - 13. Don't know
where the other eleven bits come from.
To conclude the rant: even if a client issues a Tread/write too large,
why don't just return a value smaller than requested? It's explicitly
documented in the plan9 manpage for Tread.
- Commit:
e22049ccccf16f61c96360a85afc0d0a0ef1085f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ftp: allow user@host syntax; guard against empty user or port
- Commit:
02d5b425514494dff976f6ddedb6bf5514213cc1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
do optimal (i.e. maximum) reads and writes
- Commit:
1610d4872387cb3e06ec718fc70ddab17fa23bc8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cmd_ls: fix read size
don't use a constant: msize may be lower than that. Instead, use `msize
- 4' which is guaranteed to be the maximum transferreable size.
(it's not possible for msize to be lower than 4 since we reject
ridiculously small msizes, so that difference can't underflow.)