Create a Simple File Share with AS Java
I started using this method of creating a file share a few years back when teaching a class. The students needed to download some files of the network but unfortunately share drives on the version of Windows on my laptop only allowed 10 connections…this caused a lot of issues with trying to get the students the course content they needed. So I used this handy little method that might help you too.
You need the SAP AS Java up and running. This particular document is based on AS Java 04s (7.00), but the same setup is possible using the 04 (6.40) version as well.
How it Works
You just need to create a folder that contains the content you want to share. Then create an HTTP alias that is mapped to this folder. Once this is done the alias can be accessed by other via a browser.
Steps for creating the share
Create a directory somewhere on a hard drive that you want to share the contents of. For instance C:\downloads would work.
Start the Visual Administrator and logon to the AS Java, once logged on go to the HTTP Provider service of the server node.
Select the Runtime tab, and then the General tab. Here you need to check the “Directory List” checkbox. Click the “Save Properties” button.
Switch to the Aliases tab. Enter the alias name in the Alias textbox. Enter the folder that you want to share in the Path textbox. Click the Add button and then click the Save Properties button.
You should now be able to browse and download any content that exists in the folder (and any sub folders) that the alias it mapped to. The above alias configuration would be shared out with the following URL: http://:/download
This of course be used for more than just a way to share documents. You could also load static web content into this alias and have your web applications use the images and other content stored there. Web Dynpro does just this…you might notice that a Web Dynpro alias already exists! This is where all the images and other static content is stored and accessed from.