bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ftp mdtm: invalid command


From: Felipe G. Nievinski
Subject: Re: ftp mdtm: invalid command
Date: Wed, 2 Aug 2023 18:23:34 -0300

Thanks for the clarification!
And sorry for the confusion.
Felipe


On Wed, Aug 2, 2023, 17:55 Erik Auerswald <auerswal@unix-ag.uni-kl.de> wrote:
Hi,

On Wed, Aug 02, 2023 at 04:01:00PM -0300, Felipe G. Nievinski wrote:
>
> I'm using the FTP utility, which supposedly supports the MDTM command (as
> per section 21.1 Standards of the documentation):
> https://www.gnu.org/software/inetutils/manual/inetutils.html

This documentation pertains to the FTP server (ftpd).

> However, when I try mdtm, it complains: "invalid command".

The FTP client (ftp) does not implement the MDTM command, as documented in
<https://www.gnu.org/software/inetutils/manual/html_node/Ftp-commands.html>.

> For testing purposes, I've used the quote command:
>
>     quote "mdtm myfilename.ext"
>
> which returns a timestamp correctly.
>
> ftp> mdtm 20230518T213000Z.gps.new
> ?Invalid command
> ftp> quote "mdtm 20230518T213000Z.gps.new"
> 213 20230521012942
>
>
> So, the server recognizes the command correctly.
>
> Am I missing something?

FTP server and client are different programs, even though they are part of
the same collection.

Sorry that I cannot provide a better answer.

Best regards,
Erik

reply via email to

[Prev in Thread] Current Thread [Next in Thread]