Hi,
I tried using pub.client.ftp:quote.
In the Built-in Services Reference.pdf, it is given that ‘This service submits the
command exactly as it is specified in a parameter called “string”.’
But I assigned ‘ls’ to this “string” parameter.
On doing so, the ftp return message I got was: “500 LS not understood”.
I got the same kind of message for other commands also.
Please advice.
Thanks in advance,
Anil
I think we may need to update the documention on this???
Unfortunately LS is not a valid command for “quote”.
I tried NOOP and some of the other command list below and it seems to work.
Nino
reference: http://www.uwsg.iu.edu/usail/man/solaris/ftp.1.html
***
quote arg1 arg2 ...
Send the arguments specified, verbatim, to the remote
FTP server. A single FTP reply code is expected in
return. (The remotehelp command displays a list of
valid arguments.)
quote should be used only by experienced users who are
familiar with the FTP protocol.
***
214-The following commands are recognized (* =>'s unimplemented).
USER PORT TYPE MLFL* MRCP* DELE SYST RMD STOU
PASS PASV STRU MAIL* ALLO CWD STAT XRMD SIZE
ACCT* EPRT MODE MSND* REST XCWD HELP PWD MDTM
SMNT* EPSV RETR MSOM* RNFR LIST NOOP XPWD
REIN* LPRT STOR MSAM* RNTO NLST MKD CDUP
QUIT LPSV APPE MRSQ* ABOR SITE XMKD XCUP
214 Direct comments to ftp-bugs@x1.
Actually the Built-in Service Reference is correct.
It specifies the following - “You can use this service to execute non-standard FTP commands.”
“ls” is a standard ftp command and shouldn’t be used with the “quote” service.
So we don’t really need to update the guide - relief for our “doc-writers”…
hmmm … i guess i’m just gonna have to use the “quote mdtm ” service on each file and then sort them on my end … adds overhead … but i wont have that many files … so it’ll be ok i think
Hi All,
I want to use ls - t on FTP server .Can anybody please advise me with "pub.client.ftp:quote service " what sholud be the