Subject: | Net::FTP suggest MLSD |
Date: | Sun, 12 Jul 2015 19:04:25 +1000 |
To: | bug-libnet [...] rt.cpan.org |
From: | Kevin Ryde <user42_kevin [...] yahoo.com.au> |
It'd be good to have something for the ftp MLSD command. I think it's
only rfc draft yet but various servers implement it (eg. proftpd).
I don't know whether ls() style lines or nlst() data connection would be
better. Perhaps both. There's a little parse could be done on the
lines, splitting into "facts" and filename, but leave that for future
thought.
I wondered if flavours of quot() could be offered for arbitrary data or
listing commands. Maybe as simple as _data_cmd() and _list_cmd()
exposed as something like quot_data() or quot_list(). If wanted to wait
for MLSD to reach an rfc then they could suit in the interim.