On Saturday, 14 May 2022 at 10:17:14 UTC, ikod wrote:
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote:
Before I go on duplicating effort, does anyone have anything
that can access FTP beyond PUT and GET?
I need to read file information from a NAS so I know if I
should upload a file or not. `dlang-requests` has
`Request.post` and `Request.get`, but seemingly no way to LS.
It should. Maybe get ftp://path/ . Will check a bit later.
Yes, it should. If you get("ftp://hostname/path/") it will try to
download directory as file and fail. After that it will try to
make NLST and will return directory listing.
Please note - AFAIK you will receive only names, no size or other
file attributes.
--
Support πΊπ¦!