Saving the file to a particular location!!!

Hi,
      I have to upload a file and the file uploaded should be saved to aparticular location. For Example if i upload a file named 'eg.jpeg.' , how can i save this file to a particular location in the system?
Regards,
Shiny

Hi,
If you just want to display it within the same BSP application, try this:
<htmlb:image src="eg.jpg" />
If you want to retrieve the image from a non BSP application, I think you should look at logical files and paths (transaction AL11).
Regards,
Tanguy

Similar Messages

  • Saving a file in a particular folder over the tomcat server

    I have a java class in the background of a JSP which creates an XML file and saves it.
    Furthermore another class picks that file and processes it. While running this program on my local computer it is obviously working fine but in order to run it on a tomcat server or for that matter any server, I want it to save the XML file in a particular folder, for example:
    tomcat_home/webapps/myapplication/ xmlfolder / something. xml
    so that my other class can easily pick up the file and I dont need to change the location each time I change the server.

    You can get the context root(the place from wher the aplication is running) of your application and then save the file somwhere, but i >>woulden't recomend that. But this is what you are looking for.How ?
    You can also just save the file, it will be saved in a temp directory. (use this only if the file is a temp file not for storing purposes)Just saving the file somehow doesnt work for me as the folder where a class is saving a file by default is somehow different from the folder where another class is trying to pick a file by default. Even if I give no path
    Other option is just to configure a tomcat system variable that specifys an folder. You can get that property from your application and >>then save the files there.Im not able to consider this one because the application will be put on different servers by different people later so they would all then need to configure their systems just to read a file. I was sure there were better ways. :(

  • I like to have the option of saving downloaded files in my designated locations instead of in the 'downloads' folder. How do I do this?

    # Question
    I like to have the option of saving downloaded files in my designated locations instead of in the 'downloads' folder. How do I do this?

    There are also other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r45
    # Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Uploading File to a particular location

    Hi,
    I need to upload a file to a particular location using the Struts framework.
    I have been reading about the html:file tag.
    But I did not come across any information as to where the file gets uploaded to. I need the file to be uploaded to a location in my project.
    How do I do it?
    Could anyone post a code sample for this?
    Thanks in advance.

    http://www.google.com/search?q=struts+file+upload
    I see lots of useful examples tho.
    Saving the retrieved file to a particular location has nothing to do with Struts. Just handle it in your Javabean. Check the java.io API.

  • How to find where iWeb is saving the files?

    greetings.
    i used iweb last year to make a couple web pages... i normally just edit html directly and don't use this kind of software... i cannot find where it is saving the pages i've updated... the location in ~/Site that has the files from last year do not appear to be updating when saving... the changes are getting saved somewhere because the changes are still there after quitting and restarting iweb... the standard way i use to find where a program is saving the file is to command+click on the title bar to see what path it is saving the file... that doesn't work in iweb...
    i edit my files locally on my HD... then when everything is ok, i copy them up to our server... since i cannot find where iweb is saving the files, i can't copy them to the server... i really don't like software that gets in the way of just doing the work or hides everything... :-\
    i did a quick search of the manual and this list and didn't find anything on this topic...
    thanks for any suggestions-
    jeffery
    ps: also how does one get rid of that ANNOYING "try mobilme for free" splash screen when starting the program each time? it's enough to make me want to just delete everything and recode it by hand... certainly less annoying and possibly even faster... :-[ sorry for being so cranky-

    There is absolutely nothing wrong with iWeb at all. You just need to learn how to use it and what it does and how it publishes that is all.
    You just need to know that if you want to update, then you need the domain files and where they are stored and know that iWeb cannot import and that it creates html files on publishing and publishing to a folder will create these. If you wish to make alterations to these files, then you can easily do so with an html editor and then upload directly to your web server.
    As with anything, if you learn what it does and how to use it effectively, you can make it work very well for you.

  • Urgent!doubt in upload the file to a particular directory.

    Hi
    Actually i'm developing a site using JSP.
    Main concept of the project is the user should be
    able to access his files or dabases from anywhere
    in the world thru internet via intranet.
    i've placed upload option in my site.
    each user should b given a separate directory.
    can anyone tell me how to make the user to store
    the file in a particular directory(the one alloted to him).
    And to view the file, if the user enters the file name
    it should open the file in the particular format.
    i need the coding since i'm new to jsp.
    can anyone help me or refer any site tht can solve
    my problem?
    thanx in advance.

    I'd just answered a similar case. I believe this is what you are looking for;
    <%@ page contentType="MIME-Type; Charset=Character-Set" %>
    Read up on MIME-Type and Character-Set for info.
    Here some exmaple;
    By default:
    <%@ page contentType="text.html; Charset=ISO-8859-1" %>
    Show an MS Excel file;
    <%@ page contentType="application/vnd.ms-excel" %>
    or
    <%
    String mimeType = "application/vnd.ms-excel"
    response.seContentType(mimeType);
    %>
    Cheers

  • Error in saving the file

    Hi,
    I have created one report in apex. I have dowload option to download the csv file from report.. i am able to download to download all files accept one report which is giving me the error while clicking on saving the file "Error: Unable to read source file or disk"...Please suggest why it is happening. Thanks in advance.

    Have you tried Save As…
    Where are you trying to save it to?
    Are you using iCloud?
    Peter
    btw Your tag is out of date.

  • My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    I don't get what you are saying.
    Is this all the same document?
    What version of Pages?
    Have you tried to revert to a previous version?
    Peter

  • HP scanning error: "An error has occurred saving the file because it could not be written to..

     HP scanning error: “An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.” Dr. Google finds others with this problem.  Some claim that this is caused by an upgrade of Apple OS10 (which I did do).  One claims that HP has a "patch" for this problem. If I try to quit HP scan, it won't quit and freezes my computer. Here's the odd thing.  I have no problem scanning in a colored page from Scientific American either before or after this error (after rebooting each time), but simple black and white documents started just today to give the error message above.

    Thank you for the link however if I understood all of the instructions I would still be reluctant to try this on my own especially from a third unknown party where some of the information may be wrong and/or lost in translation. (Google translation at the end of this comment). The instructions say to uninstall the software.  So if I uninstall the original HP software am I using the original disk to reinstall and then personalize again?What about all of the updates since I originally installed the software? I found the Disk Utility but what is "gatekeeper"And I am using OS X 10.9.1 that is current because I downloaded the latest upgrade.  How would I reinstall it?And at what point do I go to the URL for the software drivers and the patch? This is just not practical for someone who is not proficient in troubleshooting applications.I switched to Apple because I don't want to have to go through this kind of process, take my time to fix the application and potentially mess up my system .  WHy should I have to try to figure out how to retrieve the normal function in this case, of my All-In-One. If it is so simple why can't HP develop the fix and make it available? Unfortunately right now I have to find an alternative to scan some important business documents that are due today. Since I am using an older printer by technology standards even though it is working fine I may be looking for a replacement and HP may no longer be at the top of my list given that the problem appears to affect other HP models. No need to answer my questions,  I'm not going to try this fix based on these instructions. Please HP provide a fix for this problem with the scanner and MAC OS X 10.9.1 compatibility! Translation of the information on the suggested link: We hereby send you a guide that should help you in solving the problem .Please carry the following: 1 Please uninstall the software again .Goto -> Programs - > Hewlett -Packard - > HP Uninstaller 2 Please repair permissions on your Mac .Go -> Utilities -> Disk Utility - > Repair Disk Permissions . 3 Please disable ' gatekeeper ' on your Mac . 4 Reinstall the full software for MAC 10.6 and patch for 10.7 / 10.8 / 10.9. HP Scanjet Software and Drivers for Mac OS X v10.6 features :http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/ ? sp4ts.oid = 457 534 & spf_p.tpst = swdMain & spf_p.prp_swdMain = wsrp - navigationalState 3Di % dx % 253D % 257CswItem % 253Dsj_78355_5 % 257CswEnvOID % 253D219 % 257CitemLocale % 253D % 253D % % 257Cs wLang 257Cmode % 253D % 257Caction % 253DdriverDocument & javax.portlet.begCacheTok = com.vignette.cachetoken & javax.portlet.endCacheTok = com.vignette.cachetoken
    Scanjet software patch to Use OS X 10.6 Software and Driver on OS X:http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/ ? sp4ts.oid = 457 534 & spf_p.tpst = swdMain & spf_p.prp_swdMain = wsrp - navigationalState 3Di % dx % 253D % 257CswItem % 253Dcs_97791_1 % 257CswEnvOID % 253D219 % 257CitemLocale % 253D % 253D % % 257Cs wLang 257Cmode % 253D % 257Caction % 253DdriverDocument & javax.portlet.begCacheTok = com.vignette.cachetoken & javax.portlet.endCacheTok = com.vignette.cachetoken    

  • This is an error from my HP scanner. How can I fix the problem? An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only.

    I recently uploaded the Maverick operating system. I wanted to scan some things on my HP Printer/Scanner and could not . This is the error message I received: An  error has occurred saving the file because it could not be written to.   Check the properties for the file to make sure it is not read-only. I am a novice with the computer and have no one to help. I hope someone knows an easy fix.
    Thank you

    This worked for me:
    "Although it is not a 'fix' for the HP issue, I did find a workaround that helped me. In the Preferences Panel in MacOS X you can pull up the Printer/Scanner preferences and scan directly from OS X. I'd not known of this prior to posting here and it worked like a charm."
    "Of course, HP should still update their software, but it's good to know that Apple has it covered for them."
    I found it here:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/MAVERICKS-WONT-SCAN-HP-C3 09A/td-p/3052105

  • "An error has occurred saving the file because it could not be written to. Check ..."

    I have the familiar Mavericks issue of failing to save scanned files from my Mac:
     "An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only."
    As far as I can see, there has been no resolution to this issue, despite reassurances dating to last fall (2013).
    The support website acts funky, too, sending me around in circles when I try to download the drivers; it may be a Safari-only problem, but still, please fix your software!

    Hi,
    What is your printer model? what Mac OS X version?
    Have you tried scanning with Image Capture or Preview?
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03967506&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • An error has occurred saving the file because it could not be written to.

    An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.  
    This error message comes up every time I try to save a scanned document to my mac 10.9 .4 . I have reset the software for my HP C5180.All in one. I have not had te problem before, just recently following some upgrades ....any suggestions how to fix this, on reading forums it seems its a common problem.. not good .
    Thanks

    Hi @annie59,
    Welcome to the HP Forums!
    I understand that you cannot scan with your HP Photosmart c5180 on Mac 10.9.4. I am happy to help you with this scanning issue!
    Please try the following:
    Reset the printing system. OS X Mavericks: Reset the printing system.
    Verify and repair disk permissions. Disk Utility 12.x: Repair disk permissions.
    See this installation guide. OS X v10.9 Mavericks: Installing and Using the Printer on a Mac.
    See this post, Re: iMac OS X 10.9.3 Scan to iMac Driver for HP OfficeJet Pro 8500A A910a does not seem to exist, by my colleague @Sunshyn2005. 
    Hope this information helps, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I have Maverick 10.9.1 installed I scanned a photo on my HA D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    I have Maverick 10.9.1 installed I scanned a photo on my HP D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

  • After downloading Maverick I cannot save or email scans from my HP L7780. I receive  error message "An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only. "

    After downloading Maverick I cannot save or email scans from my HP L7780. I receive  error message "An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

  • Can I get back a file that logic deletes... Well I did but I had thought I saved the file under a different name?

    Hi. I have been using logic pro on the computer at music school... A Mac pro... Anyway, I was recording a friends band. W got some awesome takes down. I was then doing a little post, saved the file as one name and then stared working on it under a new file name. Anyway, logic came up with a splash that asked if I would like to delete the original file, and I clicked yes, as I thought I had saved the session under a different name just earlier. Anyway, I lost everything. Ok... Shirt I thought... But I managed to find everything in the recycle bin. Except one awesome take of an awesome song, I am a little bit heart broken as I've gone though the sessions undo file in quite some detail, but I seem to have lost it. I have access to the file on my Mac at home (MacBook pro, and logic express 8 I think) cool that I can open logic pro files in logic express, but anyway. Anyone want to offer me any solace? I think a solution might be too much to ask for....

    If you were using OSX 10.7 then you could go back to a previous version, but you have overwritten the file.
    Peter

Maybe you are looking for

  • How to Load Master Data Text  from Multiple Source Systems

    Situation:  Loading vendor master (text) from two systems.  Some of the vendor keys/number are the same and so is the description.  I understand that if I was loading Attributes, I could create another attribute such a source system id and compound i

  • Problem with the creation of the _pageflow folder in the portal project

    Hi, I have developed one portal project on the BEA Weblogic Portal server version 9.2. And I am having a quite a number of pageflow portlets in my application.I am facing a weird problem with the workshop(BEA Workshop for Weblogic Platform 9.2.1). It

  • How to determine the Docid

    I would like to open a web intelligence detail report I created from within an xcelsius dashboard. However, I can't use the FS command button or URL buton, because I don't know how to determine what the document id for the webi report is.  I've gotto

  • How to map the Resultset values to multiple tags on target strcture

    Hi All, We have an UDF ,whihc is returing Resultset . How do we map/extract the each element of resultset to diffrent fields on the target strcure in graphical mapping. Let me know,if any blog exist for same. Thanks for your support and advice. MK

  • T430 screen flicker in Discrete Graphics Mode (BIOS)

    I recently bought a t430 with both igpu and dgpu 5400m and I'm loving it. When I first received it I tried to connect it to a TV but it had issues which I later found was due to Optimus. So I followed a solution that suggested that I switch the BIOS