Accessing JNDI fscontext provider .bindings file via Web Server

The filesystem context provider produces a .bindings file. I've been referencing this over a web server with a URL of the form "file://<host><path>/.bindings".
This works find with IIS. With Netscape Enterprise Web Server it won't show files with a name starting with a period (.).
How can I make the fscontext .bindings file visible over a web server?

Look for a configuration option regarding "hidden files". On UNIX, files beginning with a '.' are considered 'hidden', so I would guess they use that terminology.
Good luck,
-Derek

Similar Messages

  • Can't access folder on a TC drive via web server

    Here's the setup:
    I got a MBA (10.6) as a simple web server sharing files to a remote computer via VPN. For this, I created a symbolic link to the folders I want to share and dropped it into the root user's library/webserver/documents.
    The remote client accesses the folders via web browser with the internal IP (192.168.xxx.xxx/"folder") of the host (I know, there are fancier ways to do this, but that's how I've been doing it so far).
    Now, I wanted to relocate some of the folders to my TC drive. I did so, however I got an error message saying 'Forbidden, You don't have permission to access xxx on this server'. I tried to change the access permissions of the folders in question on the TC, but no avail.
    I couldn't reach them from the local net either.
    Anyone here, who knows how to solve this problem? Put it another way, is it even possible to access the TC that way?
    Any help is appreciated.
    Thanks!

    Thanks for the answer, but it was not the solution I have been looking for.
    I found a provisional workaround installing MAMP. Dropping the symlink folder in htdocs did the job. However, I'd be glad, if someone out there knew how to do this on the native OS X Apache, since running an additional server is pretty bothersome.

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Help Setting Up File and Web Server in OS 8.6

    I have an OS 8.6 400mhz G3 B&W with 512mb RAM and an 80GB HD. It has the OEM operating system which is 8 on it. First I can't access the computer via afp from a Leopard Machine (Yes appletalk is enabled.). It gives me the error -36. Which is "The Finder can not complete the operation because some data in _____________ could not be read or written. I need this computer for a File and Web server. How could I make it accessible via AFP and FTP? I thought about linux but it requires a terminal like interface and I don't like that.

    To begin with, have a look at the IV. Troubleshooting section of KB article 106461:
    "Mac OS X 10.4 and later don't support Personal File Sharing (or other AFP) over Appletalk, though by initiating the connection from the opposite direction you could still achieve an IP connection from a Mac OS 8 computer to a sharing Mac OS X computer."
    Regarding servers: There is a built-in web server in Mac OS 8.6 (see the help system for details). Alternatively, the (now) free NetPresenz could perhaps be of interest.
    Jan

  • Limiting access to copyright-restricted material on a web server

    Hello Folks,
    I know this is close in topic to some other recent discussions but please indulge me here.
    I have access to a stand-alone web server running OS X 10.5 server. I need to limit access to some copyrighted material on that web server to staff and students of our institution. There is a LDAP database available. The xserve is not currently running Open Directory. On almost any other Apache 2.2.x server, I would probably use a auth-ldap type module but OS X 10.5 doesn't have this.
    I know very little about this topic but it seems my options are to compile a new version of Apache with the required modules or to start Open Directory, connect to the ldap database and create a new group of Auth_Users (30,000 records in the LDAP database)and use Realms.
    Is this correct? If both options are valid, are there good reasons for going for one rather than the other? Any good documentation out there?
    Thank you for your assistance,
    Ross.

    I would probably use a auth-ldap type module but OS X 10.5 doesn't have this.
    No, it has something better.
    Since Mac OS X can plug into a number of directory systems (Active Directory, Open Directory, BSD Files, etc.), Apple included the modauthapple which plugs into that system.
    Therefore whatever authentication system(s) your Mac is set to use will filter down into Apache.
    So step 1 is to join your Mac to the Authentication system (via /Applications/Utilitiy/Directory Utility)
    Step 2 is to enable modauthapple
    Step 3 is to use Server Admin to define your realm and choose the group from the directory.

  • Applet can't read local file on web server, security issue!

    There is any way to read/write files of web server through the applet except the Signed Applet.
    If any idea the reply me soon.
    Thanks in advance

    Applets are downloaded from web servers and execute on the client machine.
    Therefore they have no access to the web server file system, signed or not.
    They could have access to the client file system (the machine where they run),
    but for security reasons only signed applets have this privilege.
    So to answer your question, you sign if you want to access client files.
    To access web server files, you don't need to sign the applet, but you need
    to provide some method of accessing files remotely, for instance:
    - Files published for the web can be read using HTTP
    - Files can be read or writen with the help of an FTP server on the same machine as the web server
    - A servlet running on the HTTP server can collaborate with your applet to exchange files

  • How to delete a file on web server without using FTP

    Hi All
    I hv given a facility to a site user to upload some files..
    And an interface to web administrator to view all the files..
    I want to know how can i write a code in JSP which allow the web administrator to delete any of that file which is not of his/her interest through provided interface only.
    OR
    Is it possible to delete a particular file from web server without getting login into FTP account
    Thanx

    new File(strFileName).remove;
    Simply as this.
    Don't forget to import java.io.FileInputStream.

  • Error: java.lang.OutOfMemoryError when uploading CSV files to web server

    Hi experts,
    I have made a JSP page from which clients load csv files to web server. I am using Tomca 4.1 as my web server and JDK 1.3.1_09.
    The system works fine when uploadiing small csv files, but it crashes when uploading large CSV files.
    It gives me the following error:
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    This is the code that I used to load files....
    <%
    String saveFile = "";
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
         DataInputStream in = new DataInputStream(request.getInputStream());
         int formDataLength = request.getContentLength();
         byte dataBytes[] = new byte[formDataLength];
         int byteRead = 0;
         int totalBytesRead = 0;
         while (totalBytesRead < formDataLength)
              byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
              totalBytesRead += byteRead;
         String file = new String(dataBytes);
         saveFile = file.substring(file.indexOf("filename=\"") + 10);
         saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
         saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
         int lastIndex = contentType.lastIndexOf("=");
         String boundary = contentType.substring(lastIndex + 1,contentType.length());
         int pos;
         pos = file.indexOf("filename=\"");
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         pos = file.indexOf("\n", pos) + 1;
         int boundaryLocation = file.indexOf(boundary, pos) - 4;
         int startPos = ((file.substring(0, pos)).getBytes()).length;
         int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
         String folder = "f:/Program Files/Apache Group/Tomcat 4.1/webapps/broadcast/file/";
         //String folder = "10.28.12.58/bulksms/";
         FileOutputStream fileOut = new FileOutputStream(folder + saveFile);
         //out.print("Saved here: " + saveFile);
         //fileOut.write(dataBytes);
         fileOut.write(dataBytes, startPos, (endPos - startPos));
         fileOut.flush();
         fileOut.close();
         out.println("File loaded successfully");
    //f:/Program Files/Apache Group/Tomcat 4.1/webapps/sms/file/
    %>
    Please can anyone help me solve this problem for me...
    Thanx...
    Deepak

    I know it may be hard to throw away all this code, but consider using the jakarta fileupload component.
    I think it would simplify your code down to
    // Create a factory for disk-based file items
    FileItemFactory factory = new DiskFileItemFactory();
    // Create a new file upload handler
    ServletFileUpload upload = new ServletFileUpload(factory);
    // Parse the request
    List /* FileItem */ items = upload.parseRequest(request);
    // Process the uploaded items
    Iterator iter = items.iterator();
    while (iter.hasNext()) {
        FileItem item = (FileItem) iter.next();
        if (item.isFormField()) {
            processFormField(item);
        } else {
            // item is a file.  write it
            File saveFolder = application.getRealPath("/file");          
            File uploadedFile = new File(saveFolder, item.getName());
            item.write(uploadedFile);
    }Most of this code was hijacked from http://jakarta.apache.org/commons/fileupload/using.html
    Check it out. It will solve your memory problem by writing the file to disk temporarily if necessary.
    Cheers,
    evnafets

  • Trying to access the java script files via jar file in WEB SERVER

    hi all,
    I am trying to access the java script files via jar file ,which is present in Apache webserver in order to minimise the number of hits to app server.some thing like cache ...
    in jsp the code goes like this...
         <script type="text/javascript"  archive="http://localhost:14000/dojo.jar!" src="dojo.jar/parser.js" " ></script>{code}
    But i am not able to access the js file which is put in jar file present in the  webserver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    You can use DWR (Direct Web remoting) for that. It is easy AJAX for java. ou can directly call the java script function from java class and also java class from javaScripts..
    Regards,
    Hardik

  • I am unable to upload files via web browser

    Good morning
    I have just upgraded to Mavericks (10.9.5), and I am running into a weird issue. I am unable to upload any files via the web browser. If I go to a website, and select an Upload File option, I am taken to Finder, where I am able to select the file, and press attach. The issue comes when I press upload on the website. It always either times out, or gives me an error that I was disconnected from the server. This happens on Safari, Firefox, and Chrome. I'm not sure what to do... I've repaired disk permissions and tried a lot of different security settings, but I am stumped.
    Thank you

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • File Dialog's using Remote Panels (via web server)

    I am aware that the web server remote panel access will not allow us to open a file dialog box on a remote computer.  I have read people comment that you should create your own file dialog box, using LabVIEW to use instead of the file dialog box.
    Has anyone actually done this?  I would like know if anybody has source code for this, rather than re-inventing the wheel.  Also, will the sub-vi actually just appear on the webserver? i.e. will it actually work?
    Thanks for any help
    Slade

    Hi Emilie,
    I have a program that I run on an industrial PC, with no keyboard, video or mouse.  We currently control the application using the web server.  We have a button to load and a button to save settings.  If the files are missing for the load & save, it pops up a file open dialog to choose the file to import.  However, while we are viewing the page this way, these dialog boxes do not work.
    I would like to know if anyone has made up a file dialog box that I could use, that would display correctly in the web server's remote control.
    Regards,
    Slade

  • Generating file via web service and store it on client's hard disc

    Hello!
    First of all I want to see that i am a beginner concerning Web Dynpro.
    In the last weeks I made a lot of steps but now i am stuck with a problem, i didn't find a helpful solution for.
    I want to create a  textfile dynamically via web serivce. That works fine.
    Now I am looking for a solution  to write this file on client hd.
    Is there a possibility to use simply the Java "File" class and give the path name or do I have to use the wd download ui?
    For the downloadUI I only found examples concerning Files in MIME but i don't know what to do if my file is dynamically created during runtime and not stored on any hard disc.
    I would be grateful if you could get me some hints to find the right way.

    Hi
    FileDownload UI is what you should be using!
    Bind the 'resource' property of the FileDownload UI element to a context attribute (say with name SomeFile) of type
    com.sap.ide.webdynpro.uielementdefinitions.Resource
    in local dictionary. Insert the following piece of code where the file content is dynamically being generated.
    Byte[] dynamicFileConent = yourFileContentGenerateMethod(); // your logic
    IWDResource resource =
             WDResourceFactory.createResource(dynamicFileConent ,"FILE_NAME.TXT",WDWebResourceType.UNKNOWN);
    wdContext.currentContextElement().setSomeFile(resource); // SomeFile is the name of the Context Attribute
    Regards
    kk
    Edited by: kaushal kishore on Mar 16, 2010 6:45 PM

  • Uploading files via web page

    Hi,
    I want to use a file form field to upload files to my Web server for manipulation. But I am at a loss as to how to start. Can anyone point me to examples codes, class or anything that I can use as a staring point? Thanks.

    http://jakarta.apache.org/commons/fileupload

  • Uploading a File via Web Services

    We can't seem to find a way to upload a file without needing
    to POST it to a specific page on the web server. On top of that, it
    apparently also creates a new session in Asp.NET when we do the
    post. How do you guys work around this issue?

    I have solved the problem - for future references or for anybody else having the same problem read below:
    The JavaDoc for HttpOutputStream states the following:
    "There are two constructors for this class, one taking a length parameter, and one without any parameters. If the stream is created with a length then the request will be sent with the corresponding Content-length header and anything written to the stream will be written on the socket immediately. This is the preferred way. If the stream is created without a length then one of two things will happen: if, at the time of the request, the server is known to understand HTTP/1.1 then each write() will send the data immediately using the chunked encoding. If, however, either the server version is unknown (because this is first request to that server) or the server only understands HTTP/1.0 then all data will be written to a buffer first, and only when the stream is closed will the request be sent."
    Constructing the HttpOutputStream with the size of the content to upload solved the problem. I guess the HTTP version was unknown or Oracle only understands HTTP/1.0 (anybody that can clear this up?), causing everything to be buffered (in memory) only to be send when the streams was closed, which in the case of a big file caused OutOfMemeryError.

Maybe you are looking for

  • How To Get PREVIEW on Television while in Timeline?

    I have a datavideo analog convertor I use to watch playback on my television from FCP. When I use Print To Video it will show up fine but I also used to be able to just play through the timeline and view on my TV as well. For some reason that option

  • SQL to match a single value in a field with comma-delimited text

    I have a column that can contain none, one or many recordIDs (from another table) stored as comma-delimited text strings (i.e., a list). I need to retrieve all records that match a single value within that list. For example, if I want to match all va

  • IPod Not showing up in iTUNES! UREGENT!

    When I plug my ipod into the computer, it shows up on my pc, but not my itunes. I have recently restored my iPod, because I kept freezing on the apple logo. I hada corrupt file. I don't know why this isn't showing up at all. PLEASE SOMEONE HELP! Than

  • How to find the Check table for a field ?

    Hello All,         I have the filed name f1. Now I want to know the check table of this field programatically and if this field has a configuration table then I need that table also. eg: if werks is the field the Master         Table is : MARC       

  • How to remove entries for Enterprise Manager farm ?

    I installed the Oracle 10g application server middle tier (Forms and Report Services) on one server and made a mistake in the instance name. I deinstalled it and installed it again with the correct instance name. Note that my infrastructure (Identity