| Store | Cart

Re: FTP->mdtm($file)

From: Ian D. Stewart <i...@c-cor.com>
Fri, 23 Jun 2000 12:43:04 -0400
"Tushar, Kulkarni (GEL, MSX)" wrote:
> > Even I tried this, the message I got (ftp->message() ) is mdtm is not> implemented.

I got a similiar response: "'MDTM index.html': unknown command".

I looked through RFC 959 (File Transfer Protocol), and could find no
reference to 'MDTM'.  I'm guessing this is either a proprietary command
or one introduced in a later RFC (or perhaps introduced in an earlier
RFC and later deprecated).  In $Bill's case the FTP server he is talking
to implements the command, while ours do not.

I believe (untested) that you can parse the return value from
$ftp->site() to determine whether the FTP server you are talking to
supports the MDTM command.


HTH,
Ian

-- 
99 little bugs in the code, 99 bugs in the code.
Fix one bug, compile again, 100 little bugs in the code.
100 little bugs in the code, 100 bugs in the code.
Fix one bug, compile again, 101 little bugs in the code...

Recent Messages in this Thread
Tushar, Kulkarni (GEL, MSX) Jun 22, 2000 10:36 pm
Ian D. Stewart Jun 23, 2000 04:43 pm
$Bill Luebkert Jun 23, 2000 05:06 pm
Carl Jolley Jun 28, 2000 12:08 am
Messages in this thread