Integrating Janus FTP and Janus Web Server: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 23: | Line 23: | ||
The procedure can then be accessed from a web browser | The procedure can then be accessed from a web browser | ||
as <code>http://your-url-goes-here/cgibin/hello.ul</code>. | as <code>http://your-url-goes-here/cgibin/hello.ul</code>. | ||
==See also== | |||
The following topics complete the description of <var class="product">Janus FTP Server</var> support: | |||
<ul> | |||
<li>[[Janus FTP Server]] | |||
<li>[[Janus FTP Server examples]] | |||
<li>[[Overriding FTP protocol commands]] | |||
<li>[[Janus FTP Server command reference]] | |||
</ul> | |||
[[Category:Janus FTP Server]] | [[Category:Janus FTP Server]] |
Revision as of 01:41, 21 February 2012
If you have Janus Web Server, you may have set up rules to simulate folders using JANUS WEB ON. For example, for your web server, you might have this rule:
JANUS WEB W3216 ON /CGIBIN/* - OPEN FILE FTPTEST WITH X'BFFF' - CMD 'INCLUDE /CGIBIN/*'
This invokes procedures whose names start with /CGIBIN/
, such as /CGIBIN/HELLO.UL
.
With Janus FTP, you can set up a prefixed folder to automatically prepend the /CGIBIN/
when storing
a procedure.
For example:
* Map to web rule JANUS FTP FTP01 ASSIGN /CGIBIN TO FILE FTPTEST PREFIX JANUS FTP FTP01 ALLOW /CGIBIN WRITE TO USER GLW
If you then execute the following sequence of FTP commands from an FTP client,
the HELLO.UL
procedure is stored as /CGIBIN/HELLO.UL
,
which matches the web rule pattern above:
CD /CGIBIN PUT HELLO.UL
The procedure can then be accessed from a web browser
as http://your-url-goes-here/cgibin/hello.ul
.
See also
The following topics complete the description of Janus FTP Server support: