Re: issue with ftp::Quote STATUS .



On 26 Apr 2007 07:31:53 -0700, Patrick Finnegan
<finnegan.patrick@xxxxxxxxx> wrote:


Running Tcl 8.4.14 on Windows XP.

I am trying to use the ftp:Quote option to send native FTP commands to
an FTP server but it returns "command not understood".

Works from the ftp command line on tyhe same machines.

(bin) 65 % ftp::Pwd $session
/
(bin) 66 % ftp::Quote $session STATUS
500 'STATUS': command not understood.


Output from command line FTP.

ftp> status
Connected to 12.34.56.78..
Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On
Debugging: Off ; Hash mark printing: Off .

It seems that this is not what ftp::Quote is doing ftp::Quote is
actually sending the command "quote cmd" to the server. This gives the
same result when I try it from my ftp client:

ftp> quote stat
500 'STAT' not understood
ftp> stat
Connected to ftp2.xs4all.nl.
Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On
Debugging: Off ; Hash mark printing: Off .

What ftp::Quote is to achieve then is not clear to me.

Mark
.



Relevant Pages

  • [Full-disclosure] Rapid7 Advisory R7-0032: Microsoft Internet Explorer FTP Command Injection
    ... Microsoft Internet Explorer FTP Command Injection Vulnerability ... malicious files to an FTP server under the attacker's control, ...
    (Full-Disclosure)
  • Re: FTP PUT with Store Unique
    ... years ago but had totally forgotten - I appreciated that the STOU command is ... covers the point I want to make which is that the FTP client commands are ... An SUNIQUE command compatible ...
    (bit.listserv.ibm-main)
  • Re: FTP PUT with Store Unique
    ... The best list for topics related to the Communications Server IP ... command or vice versa. ... Instructs the FTP client not to include a name with the STOU ... -- If NONAME is in effect, no name string specifying a foreign_file value follows ...
    (bit.listserv.ibm-main)
  • Re: FTP PUT with Store Unique
    ... a date/time stamp into the name before the FTP step. ... I foolishly assumed when I saw the SUnique parameter that - of course! ... command or vice versa. ... -- If NAME is in effect, the name string specifying a foreign_file value ...
    (bit.listserv.ibm-main)
  • RE: trouble using ftp.exe to connect to external site
    ... FTP site thru IE but cannot access thru ftp command line. ... Standard mode FTP client sends PORT commands to the FTP server. ...
    (microsoft.public.windows.server.sbs)