Saving a file back to the server

Hi All,
Well...I have opened a .pdf file from a server (Tomcat).Typical hyperlink on which I click and the pdf opens.I make changes to it.I have the acrobat writer installed on my machine.And now I want to save these changes (or the file) back to the server from where it opened.
How will I do it?
I hope some onez there to help me.
Thanx a lot in advance

You can't do this directly, and for a very good reason - you wouldn't want any- and everybody writing files on your server, would you?
What you can do is to write a servlet that accepts the file as input, and saves it away in the required place. How you write that is a bit beyond a quick answer.
To get the document to the servlet, the quickest and dirtiest way is to use <input type="file" ...> from an HTML file. This will attach the document to the request. AFAIK, this only works in IE, though. Otherwise, you can write an HTTP client that posts the document. Again, this is beyond the scope of this answer.
RObin

Similar Messages

  • Wiki file attachments - can the wiki be configured to link to a file already on the server rather than uploading it into the page?

    Can the wiki be configured to link to a file already on the server rather than uploading it into the page? This would enable users to open (and edit) the original server hosted document rather than downloading a static copy that can't be edited and synced back into the wiki page.
    As a workaround I've tried attaching an alias to a file but it doesn't work - the wiki instead uploads the aliased file.
    From what I can work out, the default wiki behaviour is to upload a document to a wiki page, which creates a copy of the uploaded document in the wiki database. This copy has no connection to the original document. It can be downloaded and edited, but the edits are not saved back into the wiki hosted version of the document.
    I'd like to be able to upload a link or alias to a document (with preview please!) already on the server. A user could then preview the document or click to open and edit it.
    The only way I can do this at the moment is to create a link "afp://123.../doc.rtf" to the original. This is timeconsuming and confusing for non-technical users and doesn't offer the benefits of the attach function (ie document preview).
    Is there any way the wiki can be configured to link to documents already on the server using the attach functionality?

    An update for anyone in a similar situation.
    Patch 3944727 for 9.0.4.1 that solves this issue: "USER LOV IASM11SHIP EDIT USER LOV SHOULD SHOW THE NICKNAME ATTRIBUTE." However, the patch is mutually exclusive with the latest CPU's and there's no plan to merge the pacthes given the dwindling support for 9.0.4.1. So that patch is pretty much worthless.
    I've been told that this patch is included in newer portal versions, so the real solution is an upgrade.
    Trenton

  • WHAT SHOULD I DO MORE TO GET  MY FILES BACK IN THE FCP FORMAT ?

    A ROUND-ABOUT PROBLEM
    RECENTLY I GRADUATED FROM. FCE AND FCE HD. I DECIDED TO INSTALL FCP 5. I HAVE POWER BOOK G4 V10.4.8, PROCESSOR 1.5 GHZ PC SDRAM WITH INTERNAL MEM 80 DISK STORAGE AND 1 GB DDR SDRAM. I ALSO HAVE AN EXTERNAL LaCIE WITH 200 CAPACITY.
    IN THE PROCESS OF INSTALLING FCP, THE STUPID THING I DID WAS TO CHANGE NAME OF THE MEDIA FILE, AND THIS ACTION CAUSED ALL MY FILES GO OFFLINE. THE OPTIONS GIVEN TO ME BY THE RECONNECT FILLES TABLE BOX TO GET BACK MY FILES ARE:I TRIED TO USE BOTH BUT WITH NO SUCCESS.
    I WOULD BE GRATGEFUL TO ANY ONES WHO COULD HELP ME RECOVER MY FILES WITHOUT GOING INTO THE PAIN OF CAPTURING THEM FROM TAPE.
    FOR THOSE OF YOU WHO HAVE THE PATIENCE PLEASE READ MOR BELOW. THANK YOU SO MUCH.
    WHEN I TRY I GET A WARNING WHICH SAYS:
    THE FILE FORMAT OF THIS PROJECT IS FROM AN EARLIER VERSION. WOULD YOU LIKE TO UPDATE THIS PROJECT?
    NOTE: ONCE SAVED, THIS FILE CANNOT BE OPENED BY PREVIOUS VERSION. TO AVOID OVERWRITING THE ORIGINAL PROJECT FILE , YOU CAN CHOOSE SAVE PROJECT AS FROM THE FILE MENU WHEN PROJECT UPDATING IS COMPLET
    WHEN I SAY YES, ANOTHER BOX APPEARS: UPDATE PROJECT. IT SAYS THE FOLLOWING:
    THIS PROJECT CONTAINS ONE OR MORE SEQUENCES WHICH THIS VERSION OF FINAL PRODUCT PRO CAN RENDER WITH MOTION TAP QUALITY(NAMELY SCALIBG, ROTATION, ETC). PLEASE CHOSE A SCALING QUALITY TO USE (“FASTEST” RECOMMENDED IS THE QUALITY LEVEL 4.5.
    NEW QUALIT Y CHICKED INSIDE THE BOX ARE: BEST, NORMAL, FASTEST OR LINEAR . THE UNCHECKED LITTLE BOX READS: REMOVE EXISTING FILES (THIS ACTION IN NOT UNDOABLE
    WHEN I PRESS OK “OFFLINE FILES” BOX APPEARS AND SAYS:
    SOME OF THE MEDIA OF YOUR PROJECT REFERENCES EITHER CHANGED, MOVED, OR GONE AWAY.YOU CAN EITHER RECONNECT THESE FILES , OR CONTINUE WITH THEM BEING OFFLINE. BELOW THIS SAYS AS FOLLOWS:
    FORGET FILES. BELOW THAT THERE IS AN UNCHED BOX WHICH SAYS: MEDIA FILES 69 OFFLINE
    WHEN I PRESS CONNECT INSTEAD OF CONTINUE , THE RECONNECT FILLES BOX OPENS AND 69 OFFLINES FILES APPEAR. IN THIS RECONNECT FILES BOX THERE ARE 2 SECTIONS
    THE 1ST SECTION HAS A LITTLE UNCHECKED SKIP FILE BOX AND ANOTHER LITTLE CHECKED BOX WHICH READS: SEARCH SINGLE LOCATION. WHEN I OPEN IT TWO OPTIONS ARE GIVEN AS FOLLOWS:
    MACINTOSH HD: USERS WITH MY NAME AND DOCUMENT
    LaCILE:FINAL CUT PRO DOCUMENTS; AUTO SAVE VAULT WITH THE TITLE OF MY FILE
    WHEN I PRESS RECONNECT I GET THE FALLOWING PATH :
    MY NAME.>MACINTOSH HD >APTS FCT 5 >GRAY FILES
    WHEN I CHANGE THE SHOW BOX TO REVEAL FILES .I GET OFFLINE
    WHEN I ADD RESEACH, IT TAKES ME TO THE A CHOOSE A FOLDER WITH THE FOLLOWING PATH:
    MY NAME>LACIE DISK>FINAL CUT DOCUMENT >FOLDER >GRAY FILES WHICH CANNOT BE RVEALD., AND WHICH I CANNOT CHOOSE. IT GOES ON AND ON IN A CIRCLE WITHOUT HELPING ME TO GET MY FILES IN FCP FORMQAT.
    WHAT SHOULD I DO MORE TO GET MY FILES BACK IN THE FCP FORMAT WITHOUT BEING STUCK TO OFFLINE FILES FOR EVER? YOUR STEP BY STEP TO WALK ME THROUGH TO REESTABLISH MY FILES WOULD BE GREATLY APPRECIATED.

    A round-about problem
    I thank you all for your very kind replies. I have rewritten my issue in lower case as suggested by all of you. I hope I will be helped.
    Recently, I thought I had graduated from final cut express and final cut express HD when . I decided to install final cut pro. Perhaps a wishfull thinking!
    I have a power book g4 v 10.4.8, processor 1.5 ghz sdram with internal memory of 80 storage disk and 1 gb ddr sdram. I also have an external LaCie with a 200 storage capacity.
    In the process of installing final cut pro, I stupidly changed the name of the media file. Maybe this action caused all my clips, video and audio, files go offline. The options given to me by the Reconnect Files Table , to get my files back, are : Single Search Location and Search.
    I tried and tried both with no success. I would be grateful to any ones who might be able to help me to recover my clips without going through the pain of recapturing them from the tape. There are several tapes to be recaptured.
    Now, for those of you who may have the patience, please read more below to see what I have gone through.
    When I try to get to the files, I get the first warning: “The file of this project is from an earlier version. Would like to update this project?” And then it continues: “Note, once saved, this file cannot be opened by previous version. To avoid overwriting the original project file , you can choose Save Project As from the File Menue when the project updating is complete”. (It was at this point where I changed the files names formatted by the previous versions).
    When I say Yes, another box appears: Update Project. It reads as follows:
    “This project contains one or more sequences which this version of Final Cut Pro can render with Motion Tap (i.e. scalable, rotation, etc). Please choose a scalable quality (“fastest” recommended is the quality level 4.5. New Quality checked inside the little Box are: Best. Normal Fastest or linear." I choose Normal. The unchecked little Box reads: "Remove existing files ( this action is not undoable, it says”.
    (By the way, in my project no sequences, have been set up as yet; they are all clips inside the bins with red slash in all clips).
    When I press OK, “Offline Clips” Box opens and says the following:
    “Some of the media of your project references either changed, moved, or gone away. You can either Reconnect these files, or Continue with them being Offline”. Below this it continues:
    “Forget files.” Below that there is an unchecked box which says: “Media Files 69 Offline”.
    When I press Connect instead of Continue, the Reconnect Files Box opens with 69 Offline files. In this Reconnect Files Box there are two sections’
    The first section has a little unchecked Skip Files Box and another little checked Box which reads: “Search Single Location”.
    When I open it, two paths are given to recover my files:
    My name>LaCie> Final Cut Document>Folder>Gray files which cannot be revealed, and which I cannot open. I go on and onl ike a checken without a head in a circle without being able to get to the files off Offline.
    I have the same problem with the second path: My name>Macintosh HD>FCP 5>gray files.
    What should I do more to get my clip files back in the FCP format without being stuck to Offline files for ever?
    I am new to this field and enjoy what I am doing. I am old, and sometime my head goes off. Your expert step by step walking me through to reestablish my file linkage with Media would be greatly appreciated. Thank you all and have a nice holiday. Faruk Sabet

  • **** Editing and Saving an Adobe Form on the Server ****

    We are trying to achieve the following:
    1. Generate 3D PDF from VRML (Done)
    2. Embed the 3D PDF into a PDF Template and save it on the Server as an editable .pdf file
    3. Then, the user must be able to open the Editable PDF inside a web browser such as IE.
    4. The user must then enter data in some fields (Text field, drop down etc) and save it.
    5. The save action must save the data in a database and importantly, the PDF itself as .pdf file on the same server location. The updated PDF file on the server location must be available for further editing and vieweing in the updated state.
    Questions:
    1. Do the ADOBE Livecycle APIs support such a feature?
    2. Is there a code sample for the same?
    3. IF we cannot save the PDF with the updated data back to the server, then is there a way by which we can dynamically associate a PDF template with the user given data, generate it and render it using Livecycle Java APIs at runtime?
    Thanks
    Ram

    Yes. This is possible through an API. See the API Quick Start code for Forms ES at
    http://help.adobe.com/en_US/livecycle/9.0/programLC/help/000162.html#1548277
    There are different methods of submitting data from the client (xml, http post, xml+xdp, and pdf). You can extract the data server side, insert the data to database, merge the data with a form and save the form on the server.
    Steve

  • How can I submit the form back to the server, then reload the page again

    Hi
    I have 2 comboboxes, one is already populated with data by the time the page is loaded. The second combobox will be populated depending on the value chosen from the first combobox
    I need to know how can submit the form to go back to the server with the selected value from the first combobox, get some data from the database and then regenerate the whole page again filling the second combobox with the collected data
    for example, here s my select tag:
    <select name="country" id="firstBox" onchange="populateSecondList()">
         <option value="" SELECTED>
         </select>
    <select name="city" id="firstBox">
         <option value="">
         </select>
    what should I have to add in the retrieveSecondOptions() function?

    declare a second combo box in a iframe and to iframe tag there is attribute to which you can sepcify the file name like one.jsp
    now call onchange event on first combo box and forward request to one.jsp

  • SWF to play mp3 files located on the server

    Hello,
    Does anyone know if it is possible to create an SWF file that can play mp3 files directly from the server, without the need for a streaming media server or external JS.
    And also for the application to read the current directory its located in and build a playlist based on the files inside.
    any information of examples would be greatly appreciated.
    Peter.

    As for loading and playing the files there is no issue.  Simply load them as you would load any file.  You can even use a relative path if they are in the same folder as the SWF, or a sub-folder that is in the folder with the SWF.
    As for looking at the server directory for what files are there, and using them - I know of no way to do this.  That doesn't mean it is impossible, just that I haven't come across a method in my experience.
    What I typically do is to archive the list of files in an XML file, and load the XML.  I know, that adds an extra step, and an extra file, but it is the easiest method for approximating what you want to do.
    Let me edit this response.
    You could use javascript, or a server language to grab the list of files in the directory and pass it into Flash via the ExternalInterface classes.

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder.

    Post Author: dmface15
    CA Forum: Administration
    I am working in a new enviorment and i am trying to save a report to the Crystal Server via the CMC. I am uploading the report from the objects tab and attempting to save to a folder. The report has 1 static defined parameter and that's it. When i click submit to save the report i receive the following error message: "There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder." There is not a anothe report within the folder with that name. What could be causing this error message and equally important, what is the solution.

    hte message you received about duplicate user probably means something hadn't fully updated yet. Once it did then it worked...
    Regards,
    Tim

  • We transferred purchases / synced an iPod touch to a toshiba laptop, and then updated the ipod. we can no longer put the files back onto the ipod. what are we doing wrong]

    we transferred purchases and synced from a iPod touch to a toshiba laptop, after it updated and synced again we have been unable to put the files back onto the ipod. the computer will not let us drag or copy paste files, and when we tried to " export" the library to the documents folder, it only showed up in code.  we have books and music we would like to reload to the ipod.

    Hello Jean164,
    Thank you for using Apple Support Communities!
    It sounds like you are unable to manually put your content back on your iPod Touch.
    It seems like you may need to re enable Manually Manage Music now that the device has been updated, and this article should help with that.
    Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/HT1535
    Cheers,
    Sterling

  • I want to upgrade to Mavericks. Will I need to reinstall all of my apps and copy my files back to the hard drive?  I have not installed an OS on a Mac before and I'm wondering whether it is as involved as on a PC.

    I want to upgrade to Mavericks. Will I need to reinstall all of my apps and copy my files back to the hard drive?  I have not installed an OS on a Mac before and I'm wondering whether it is as involved as on a PC.

    Short answer: You do NOT have to reinstall all your apps and copy your files back.
    Longer answer: Upgrading the OS does not touch any user files. Upgrading the OS should not interfere with any applications which are compatible with Mavericks.  In my experience non-Apple apps are generally left unchanged by the upgrade.  It is possible that some apps may need to be upgraded. One good resource for checking application compatibility is RoaringApps.
    Finally, it is always wise to backup everything, just in case.

  • Tcode for checking that file is on the server

    what is the tcode for checking that file is on the server.
    thanks...

    Hi
    AL11.
    CG3Y/CG3Z.
    Regards,
    Sree

  • File download from the server

    I have this page(in a distributive application) that checks the status of files on the server. These are hyperlinked and I am trying to allow the users to download the files. I can see the files, and the links but can't download a file or "save target as.." option.
    I have added an .xml file in the configuration directory of my application server(JBoss). I can download the files on the same computer, but if I can't do that from other computer. I got this .xml file from online search, someone suggested to use this in order to allow for download option.
    <?xml version='1.0' encoding='utf-8'?>
    <Context debug="99" docBase="/home/jboss-4.0.5.GA/bin/Fastran" path="/Fastran" reloadable="true">
    </Context>Can I get some help in this regard ? The files are created in the application server folder, should I change the destination for resultant files outside of the server folder ?
    Thanks.

    <%
            String userFolder = applicationId.getUserEmail() + applicationId.getSessionId() ;
            for (int i = 0 ; i < Integer.parseInt(applicationId.getSpecValue()) ; i ++)
                int j = i + 1 ;
                File spec = new File("C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + userFolder + "\\ftn07_" + (i+1)) ;
                if (spec.exists() == true)
                    //out.println("") ;
                %>
                <a href = "<%= destFile %><%= j %>"><% out.println("ftn07_" + j); %></a><br>
                <%
                else
                    out.println("File not found") ;
        %>
    and here is how i get to the destFile:
    <%
         String destFile = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\ftn07_" ;
            String destSum = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\DamageSummary.txt" ;
        %>

  • Mapping error..Sending file back to the folder

    Dear Friends / Experts,
    I have a requirement, my scenario is File to proxy. When there is an error in mapping, then i need to send the file back to the source folder.
    Is there any way to achive this without BPM? Also advise me the BPM steps.
    Thanks in Advance
    Bala.

    I have a requirement, my scenario is File to proxy. When there is an error in mapping, then i need
    to send the file back to the source folder
    Using BPM:
    1) Receive (from File)
    2) Block
    a)  include a Exception Branch and put a send step in it (to send the File Back to the File Sender)
    b) in the branch below the Exception Branch put the Transformation Step and have your mapping program assigned to it..
    3) Send (OutSide the Block)...to send the message to the Proxy....
    Check the feasibility of this design and get back if its wrong
    Regards,
    Abhishek.

  • Why doesnt my swf file play on the server?

    why doesnt my swf file play on the server? but it plays on my computer.
    what do i need to do to make it work?

    It easier to see why the file might not be playing on the server if you provide a link to the file on the server.  That allows for checking if files are where they should be.
    In your case you may want to do some repairs on the html file that you linked.  It appears as though the tags are out of whack and possibly the embedding is as well.  What you should do is let Flash generate the html page when you publish the swf.  You are normally going to get the best results letting Flash create the embedding code.

Maybe you are looking for

  • How do I get iTunes to sort TV shows properly?

    I have season 1-7 of Scrubs on my MacBook, but in iTunes, when in Grid View, and only in Grid View, it sorts the seasons like this: 1, 2, 4, 5, 6, 3 and 7. In List View they are displayed properly. Have I done some tagging wrong? This bugs me 'cause

  • Adobe Reader not translating print option to driver

    I'm a Connectivity Engineer for a Canon Service Provider and I've got a client who has recently update to Adobe Reader 10.4.1 on their Windows 7 64bit workstation and is having some difficulties with printing PDF documents to their Canon iPF8300s. In

  • User did not respond message...

    I'm trying to set up my iSight at home, I have a wireless network, with my airport connected to a broadband router. My colleague has the same set-up and we always get the same error message. When you try to create a video chat it freezes and says my

  • 3d Mapping a shape with a raster image. Another program?

    Hey all. So, like the title suggests, I'm trying to make a raster file look 3d, say like adding a texture to a drapery, or picture to a guy's shirt.. lots of curves. I thought meshing, but it seems that's only for color, and not symbols. I also thoug

  • Why can't I choose my phone number as my signature in text messaging?

    I am using iPhone 6.  Under settings I cannot choose to use my phone number as my signature.  It defaults to my Apple ID ( a personal e-mail) and I do not prefer to use that.  I have been into settings but I cannot change my messaging signature to be