Integrating Janus FTP and Janus Web Server: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 29: Line 29:
<li>[[Janus FTP Server]]
<li>[[Janus FTP Server]]
<li>[[Janus FTP Server examples]]
<li>[[Janus FTP Server examples]]
<li>[[Janus FTP Server command reference]]
<li>[[Overriding FTP protocol commands]]
<li>[[Overriding FTP protocol commands]]
<li>[[Janus FTP Server command reference]]
</ul>
</ul>


[[Category:Janus FTP Server]]
[[Category:Janus FTP Server]]

Latest revision as of 16:53, 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: