Re: [squid-users] ftp : folder creation and file deletion

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 19 Oct 2004 18:06:48 +0200 (CEST)

On Tue, 19 Oct 2004 apmailist@free.fr wrote:

> # folder creation
>
> Squid supports it, but the ftp client doesn't know how to handle it :
> Could you explain how it is implemented ? via WebDAV ? what HTTP command
> is used ? Dev Team at TC seems to be willing to implement this feature
> in their client.

Squid automatically creates folders as needed on PUT.

If there is PUT to a explicit directory name (ftp://.../some/directory;type=d)
Squid just creates the directory I think.

> # file deletion
>
> the FTP client supports it, but gets a 501-Not implemented reply from
> Squid. I've been quickly through Squid 3 release notes and haven't found
> a "file deletion topic". Do you knwo when this could be implemented ?

No one has needed this to the level that they have bothered to submit a
patch implementing the DELETE HTTP method mapping it to the DELE/RMD FTP
methods (RMD if traling slash).

Regards
Henrik
Received on Tue Oct 19 2004 - 10:06:50 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST