Paul H. Christidis ([log in to unmask]) wrote:
: Can anyone shed some light on ftp's SITE command?
: 1. What valid parameters can be specified.
: 2. Do these 'site commands' have to be 'pre configured' ?
: ===================== [log in to unmask] =====================
Hello Paul,
The site command is implemented in the FTP product from HP on the HP3000.
The FTP/iX client can send any site command the server can understand,
the HP client does not attempt to interpret the site command, it just
forwards it to the server and waits for a positive/negative response.
Example:
ftp> debug
Debugging on (debug=1). (FTPINFO 24)
ftp> site x
---> SITE x << as per this debug line, FTP/iX sent the message to >>
<< the remote host/server >>
500 'SITE X': command not understood.
<< as per this 500 message returned from the remote >>
<< host/server, site x is not a command it supports. >>
The FTP/iX server can execute (1) one site command and it is the
"site stream" command which supports the ability to stream a job file
on the 3000.
Example:
ECTOR:editor
HP32201A.07.21 EDIT/3000 THU, FEB 23, 1995, 5:26 PM
(C) HEWLETT-PACKARD CO. 1991
/a
1 !job test,manager/badpass.sys/badpass
2 !showjob
3 !eoj
4 //
...
/k test,unn
...
ftp> put test test1
200 PORT command ok.
150 File: test1;REC=-72,3,F,ASCII;DISC=3,1 opened; data connection will be
opene
d
226 Transfer complete.
ftp> site stream test1
---> SITE stream test1
550 INCORRECT PASSWORD. (CIERR 1441)
or if you correct the password
ftp> site stream test1
200 STREAM command ok.
Hope this helps.. OH yea, this feature was added in a patch for FTP/iX,
on 4.0 FTPCDJ2 - NOV 1, 1993. Contact your Response Center for the
most recent patch which includes this enhancement SR 5003108886.
This feature is already included in the 5.0 PUSH.
Regards,
James Hofmeister - Network Expert Center
Hewlett Packard
P.S. My Ideals are my own, not necessarily my employers.
|