File Download from Server location - JSP

Hi SDN,
I have a txt file in a folder created in server location under the path /usr/sap/EPD/JC00/j2ee/cluster/server0. On click of the link correspondin to the file name in JSP, i have to open the file with the pop up to save, open or cancel. I have to achieve this in the JSP. I am currently
<td> <a href="/usr/sap/EPD/JC00/j2ee/cluster/server0/XXX/yyy.txt"> <%=fileName%></a ></td>
I am not able to achieve the intended functionality. How to achieve it. Expecting your valuable replies
Thanks & Regards,
p188071

hi,
I am using the following snippet
String filePath ="/usr/sap/EPD/JC00/j2ee/cluster/server0/xxx/yyy.txt"; // path of your excel file
     HttpServletResponse resp = componentRequest.getServletResponse(true);
     resp.setContentType("text/html; charset=UTF-8");
       // set the exact content type
     resp.setHeader("Content-Disposition","attachment; filename=\""+ filePath + "\"");
It is creating downloading a txt file with the name usr_sap_EPD_xxx_yyy.txt without actual contents inside the file. It is just generating a file without writing the contents into that file.
What should I do?
p188071

Similar Messages

  • File download from server

    Hi All,
    I have written a code that downloads a file from server using the following link given by Frank,
    File download from server
    I am able to get a open/save/cancel dialog with help of this. But issue is that applications of kind .doc/.xls/.ppt gets opened (If user clicks open) right in the internet explorer window instead of getting opened in a new office application....
    However .pdf runs fine.
    Can any thing be done for this???
    Any help....
    Regards,
    Amitt

    Hi,
    what do you have for the content disposition header?
    Try this:
             response.setHeader("Cache-Control", "max-age=0");
             response.setHeader("Content-Disposition", "attachment; filename=\"" + fname + "\"");
             response.setContentType("application/x-download");Brenden

  • Reg: Html file download from server

    My requirement is download file from server. Am using jsp and servlet this. While downloading the file a dialog box with open, save and cancel option. When try to open html file it, open in the same window .
    Req: it should be open in seperate window (ie)
    Please advise me how to open a html file in seperate explorer
    Am using below Code for download a file:
    private void downloadFile( HttpServletResponse response, String strFileType, File file ) throws Exception
    logger.trace(Util_Client.INFO, Util_Client.getInfo(), "File download Started.");
    BufferedInputStream bufferedInputStream = null;
    try {
    String strContentType = fileExtnContentTypeMapping.get(strFileType);
    if(strContentType == null)
    strContentType = fileExtnContentTypeMapping.get(CLConstants.FILE_EXTN_OTHERS);
    response.setContentType(strContentType);
    String strHeader = "Attachment;Filename=" + file.getName();
    response.setHeader("Content-Disposition", strHeader);
    byte data[] = new byte[CLConstants.FILE_DOWNLOAD_STREAM_READ_BUFFER];
    bufferedInputStream = new BufferedInputStream( new FileInputStream( file ), CLConstants.FILE_DOWNLOAD_STREAM_READ_BUFFER );
    int count;
    while((count = bufferedInputStream.read(data, 0, CLConstants.FILE_DOWNLOAD_STREAM_READ_BUFFER)) != -1 ) {
    response.getOutputStream().write( data, 0, count );
    response.getOutputStream().close();
    }catch (ClientAbortException clientAbortException) {
    clientAbortException.printStackTrace();
    }finally{
    try {
    if( bufferedInputStream != null )
    bufferedInputStream.close();
    } catch (Exception exceptionFinally) {
    exceptionFinally.printStackTrace();
    logger.trace(Util_Client.INFO, Util_Client.getInfo(), "File download Ends.");
    Thanks in advance
    Edited by: sunRP on Oct 11, 2009 9:47 AM

    The best you can do is set the correct content type.
    Once the file reaches the client's browser it's up to the client and their browser settings to decide what to do with it.
    You can't control the client's browser from your servlet.

  • PDF file downloading from server to client

    Hello,
    I am a newbie to Oralce UCM. Writing a component to merge some PDF files and allow user to save/open it on client side.
    The file downloaded is of 0 bytes and when opened it says -
    Adobe Reader could not open the the file because it is either not a suppported file type or because the file is damaged(It was sent as an email attachment and was not correctly decoded)
    this.m_binder.m_contentType = "application/pdf";
    this.m_binder.m_clientEncoding = "utf-8";
    DataStreamWrapper dataStreamWrapper = this.createNewDownloadStream();
    dataStreamWrapper.m_clientFileName = "MergedPDF";
    dataStreamWrapper.m_inStream = mergedPDF.getDocumentInputStream();
    dataStreamWrapper.m_inStreamActive = true;
    dataStreamWrapper.m_dataType = "application/pdf";
    try {
    this.m_httpImplementor.sendStreamResponse(this.m_binder, dataStreamWrapper);
    } catch (ServiceException e) {
    e.printStackTrace();
    Some clue would really help :)
    Thanks,
    Fauzia

    Hi Jiri,
    I have created and HCSP page where data is being populated dynamically. User may select some of the files from this page through checkbox. Page also has a download button which when clicked will merge all the selected documents and let the user open/save it.
    Information like Native URL, docName is passed on to the content server when the component is called (download button-click).
    Merging the PDFs, I have used a custom utility which takes url as a parameter and returns back the inputstream of merged PDF.
    And last, I have used DataStreamWrapper to send this inputstream back to the client as an attachment which can be read by IE.
    Also, I thought at first to use HTTPHeader where parameters like content-disposition, content-type can be set. But UCM already provides a better way to achieve this i.e. through DataStreamWrapper.
    public class MergePDF extends Service {
         public List<PdfDocumentSource> createPdfDocumentSourceList(
                   String... urlStrings) throws MalformedURLException {
              List<PdfDocumentSource> sourceList = new ArrayList<PdfDocumentSource>(
                        urlStrings.length);
              for (String url : urlStrings) {
                   URL urlDoc = new URL(url);
                   PdfDocumentSource pdfSource = new UrlPdfDocumentSource(urlDoc);
                   try {
                        System.out.println("URL in create method - "+urlDoc);
                        System.out.println("PDFSource input stream - "+pdfSource.getDocumentInputStream().available());
                   } catch (IOException e) {
                        e.printStackTrace();
                   sourceList.add(pdfSource);
              return sourceList;
         public void mergeAll() throws DataException, ServiceException {
              Properties property = this.m_binder.getLocalData();
              String urlStrings = "";
              List<PdfDocumentSource> sourceList;
              PdfDocumentSource mergedPDF = null;
              urlStrings = property.getProperty("webURL");
              String[] urls = urlStrings.split(";");
              try {
                   sourceList = createPdfDocumentSourceList(urls);
                   PdfMerge merge = new PdfMerge(sourceList, true);
                   try {
                        mergedPDF = merge.createMergedPdf();
                        transferToClient(mergedPDF);
                   } catch (PdfProcessingException e) {
                        e.printStackTrace();
              } catch (MalformedURLException e) {
                   e.printStackTrace();
              System.out.println("hello123");
              System.out.println("URLS - "+urlStrings);
         public void transferToClient(PdfDocumentSource mergedPDF){
              this.m_binder.m_contentType = "application/pdf";
              this.m_binder.m_clientEncoding = "utf-8";
              DataStreamWrapper dataStreamWrapper = this.createNewDownloadStream();
              dataStreamWrapper.m_clientFileName = "MergedPDF.pdf";
              dataStreamWrapper.m_inStream = mergedPDF.getDocumentInputStream();
              //dataStreamWrapper.m_inStreamActive = true;
              dataStreamWrapper.m_dataType = "application/pdf";
              try {
                   this.m_httpImplementor.sendStreamResponse(this.m_binder, dataStreamWrapper);
              } catch (ServiceException e) {
                   e.printStackTrace();
              * StringBuffer sb = this.createHttpResponseHeader();
              sb.append("Content-Type: application/pdf");
              sb.append("Content-Disposition: attachment; filename=fname.ext");
              //m_headerStr
              this.m_headerStr = sb.toString();
    }

  • File Download from server to client

    Please review the following code. I am attempting to download a file , whether PDF, DOC, TXT, etc.., from the server to client(in this case a DOC file). The f.exist() method returns true so the file exists but the f.length() returns 1. The file is considerably larger than 1 byte. The download occurs but the file contains 1 byte of code.
    Also, please review all the code and suggest any code changes needed to complete the download. I am new to Java programming so be kind.
    File f = new File(filePath + fileName);
    System.out.println("file " + f);
    System.out.println(f.exists());
    System.out.println("file length " + f.length());
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis);
    response.setContentLength(fis.available());
    System.out.println("bytes " + fis.available());
    response.setContentType("application/msword");
    response.setHeader("Content-disposition","attachment; filename=" + fileName );
    BufferedOutputStream bos = new BufferedOutputStream(response.getOutputStream());
    byte[] buff = new byte[1024];
    int bytesRead;
    // Simple read/write loop.
    while(-1 != (bytesRead = bis.read(buff, 0, buff.length)))
    bos.write(buff, 0, bytesRead);
    bos.flush();
    bos.close();
    bis.close();
    response.flushBuffer();
    fis.close();
    } catch(Exception e){
    System.out.print("\n svtFileDownload.processRequestFileDownload Exception=" + e);

    the following is a nippet from a servlet I wrote that does what you want and I've had no problems with it, even with large file 200+ megs.
                String filename = bundle.getFileLocation();
                response.setContentType("application/stream");
                response.setHeader("Content-Disposition","attachment; filename="+filename+";");
                ServletOutputStream out = response.getOutputStream();
                BufferedInputStream fif= new BufferedInputStream(new FileInputStream(FILE_LOCATION+filename));
                int data;
                while((data = fif.read())!=-1)
                    out.write(data);
                fif.close();
                out.close();

  • Questions regarding jsp file download from blob

    Hi developers, i'm doing jsp file download from a blob column in DB2 using struts,
    1) How do i design the jsp page such that the page will show perhaps a hyperlink for me to download the file?
    2) What about struts-config.xml? Do i need to modify any mappings there?
    It would be great if some kind developers were to provide some sample codes for me. Thanks alot. Your effort is kindly appreciated.

    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1982213 - looks similar, you may need to change contentType as per use case

  • File download from one server does not work (other browsers work)

    After uprading to Win7 and FF 7.0.1 the file download from our intranet server stopped working. IE 9 and Chrome 14 does not have any problems. When I try to open for exmple this URL:
    https://wwwedu.oulu.fi/intra/?act=58&rnum=26241
    I got only an error page:
    Corrupted Content Error
    The page you are trying to view cannot be shown because an error in the data transmission was detected.
    The page you are trying to view cannot be shown because an error in the data transmission was detected.
    Please contact the web site owners to inform them of this problem.
    I have tested this with two separate computers and got some similar reports from students.
    If there is is problem in the headers etc. of the server, I would be very pleased to know that, too!
    Thank you very much
    Eetu Pikkarainen

    Thank you, the discussion in [https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] was informative.
    (By redbot.org I found out that there was two Content-Disposition headers. They were identical, but other one had one space character more. When they were corrected to identical then douwnload work. Now I still have to find out why there are two...)

  • Replicating files in multiple server using JSP

    Hi,
    I am developing a JSP page1.jsp to upload files into server and download from server. There are 3 servers (may increase in future) which will be accessed randomly based on load balance. The page1.jsp will be deployed in all the servers manually. The path inwhich file to be uploaded is same in all servers.
    Now this is the scenario. If I am uploading file through page1.jsp, file will be stored in any one server based on load balance concept. How can I replicate the uploaded file in other servers also.
    So that when i open the page1.jsp to download the file, I should be able to do. Please help me in this issue.
    Thanks in advance.
    Suresh A

    Your problem is not related to jsp/java.
    You can have a few options:
    - save files to a database(mysql) for example and let the mysql servers replicate - very easy
    - use another tool/software to replicate files between servers (like a backup program)

  • Jar files downloaded from SkyDrive are being renamed to jar.zip files

    I have cut and pasted the following series of exchanges from when I posted the problem onto SkyDrive's support forum. I hope that someone might be able to propose a better solution to the problem that I have. Thanks for your help.
    MDSms asked on
    Uploaded jar files convert to jar.zip files when downloaded from SkyDrive
    I have uploaded an executable jar file to SkyDrive. (I will call this FILE.jar). The file is intact and indicates that it is a jar file type when the file is viewed by Properties within Skydrive. However, when I download (or others download through a share link) the file, it is being saved onto the local computer's download file with .zip appended to the file name (FILE.jar.zip). The downloaded file can be renamed to remove the .zip appendage and subsequently run successfully. However the folder options for the folder where the downloaded file resides must be changed for disable "Hide known file extensions" prior to being able to remove the .zip appendage. While I have figured out the workaround for this problem, this manual renaming procedure is entirely too cumbersome as a solution for sharing this file with others. How can I prevent or disable the FILE.jar file from being renamed to FILE.jar.zip when it is downloaded from SkyDrive?
    All Replies (5)
    Audrey_P. replied on
    Forum Moderator
    Hi,
    Thank you for posting. Let me try to assist you with your issue with your files.
    In order for us to reproduce the issue on our end. Please provide us with the exact steps that you did when you uploaded the files as well as the steps when you are downloading it.
    We will be needing the steps to help us figure put what is causing you this issue.
    We look forward to your response.
    Thank you.
    Audrey P.
    MDSms replied on
    Reply
    The file was uploaded by first logging onto my SkyDrive account using Windows 7 Pro and Firefox browser, then a new folder in my account was created without sharing privileges, then the folder was opened and the FILE.jar was uploaded into the folder using the "Upload" option on skydrive account menu. Sharing privileges for FILE.jar were then created (view only), and the shortened url link was sent to the individuals that I was trying to share the file with. was then turned on. When these people use the link to download the file, it is being saved as FILE.jar.zip.
    When I try to download the file through the skydrive account download option, it is being saved onto my computer as FILE.jar.zip and this occurs when I try to download the file while signed into my skydrive account as well as when I am not signed into my skydrive account (using the shared file link).
    This PNG shows the information provided by clicking on the download icon (down arrow) within the Firefox browser; note that the file was downloaded as FILE.jar.zip and that the source was live.com. When I use Windows Explorer to look at the same file within the Download folder itself, examining the file's properties details also shows that it is being saved as FILE.jar.zip and is of the file type compressed zip folder.
    This PNG shows the information displayed to me from my skydrive account when I view the originally uploaded file's properties; note that the information shows that the file is a jar file type.
    When I utilize Internet Explorer 9 to access the file, FILE.jar is being downloaded onto my computer as a jar file type. This PNG shows the information provided by Tools/View Downloads within the IE9 browser. Note that in this instance, the information indicates that the file is being downloaded from yzudea.blu.livefilestore.com.
    It appears to me that the problem (the FILE.jar file being renamed to FILE.jar.zip) arises from the fact that a jar file downloaded from skydrive using firefox, is being sent from live.com whereas a jar file downloaded from skydrive using IE9 is being sent from yzudea.blu.livefilestore.com.
    I want to make sure that a person receiving a share link from me for FILE.jar is able to download it without modification to the file name regardless of which browser is being using to access the link. How can I make sure that this occurs?
    Any help is appreciated. Thanks.
    Michelle Anne D. replied on
    Forum Moderator Community Star Community Star
    Reply
    Hi MDSms,
    I appreciate you for providing as much information as you can about the issue, as well as for uploading screenshots on what you see from the downloaded file. About your initial concern wherein the file gets renamed with .zip after the original file extension, this is solely dependent on the browser that you are using since they have a different safety/security measure that needs to be implemented.
    Moreover, you may see the file servers live.com and yzudea.blu.livefilestore.com to be different with one another, but they actually are sent from the same SkyDrive server. This in turn, depends on the web browser where the file is being downloaded as well. The live.com file where it was downloaded from Firefox simply masks its original server yzudea.blu.livefilestore.com.
    As for your last query about your recipients downloading the file without the hassle of renaming it from a .zip file, you can simply tell them to download it through Internet Explorer.
    Should you have other queries or additional information that might help in our investigation, I highly encourage you to post them here.
    Regards,
    Michelle
    MDSms replied on
    Michelle,
    Thanks for your reply. Yes, I could simply tell them to download the file through Internet Explorer, but is there another solution or workaround to the problem I have described here? Am I being punished with the curse of this problem simply because I (or the individuals with which I wish to share FILE.jar with) choose to use Firefox instead of IE? Will the use of any other browser instead of IE (Chrome, Safari, etc., etc.) still result in the same problem?
    You stated that it is "solely dependent on the browser that you are using since they have a different safety/security measure that needs to be implemented"........could the problem be overcome by designating one or both of the file server addresses as Trusted Sites within the browser options setting?
    I look forward to your response. Thanks in advance.
    Joy V. replied on
    Forum Moderator Community Star Community Star
    Reply
    Hi MDSms,
    We understand your concern. Since the issue does not occur in Internet Explorer, it has something to do with Firefox's security feature. You might want to verify this concern by contacting Firefox support.
    Hope this helps. Let us know if we can further assist you with SkyDrive.
    Thanks,
    Melanie Joy

    Try to delete the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions

  • Make files downloadable from outside tomcat(web) context

    Hi there,
    I made an application on whicht people can upload word/pdf files.
    I put them in a dir called /opt/customer/2342/ , where 2342 is the customer id.
    The files are stored there, because I don't want people to be able to just download the files by using http://www.blahblah.com/customer/2342
    Now I want to create a servlet or jsp file that is able to make the files downloadable for specific users.
    Of course I can find the files using java.util.File. But I don't have a clue how to make them downloadable from this path. Should it be something with a FileStream... ?? And adding the mime-type?
    Can anybody give me some hints on making files downloadable from a specific dir?
    Thanks in advance.
    Jeroen van Hertum

    here is a servlet that is used to load files that are stored on the file system. The user submits the file path releative to a know file path.
    package common.servlet;
    import java.io.*;
    import java.net.*;
    import javax.naming.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.apache.log4j.Logger;
    public class FileResourceServlet extends HttpServlet
        // -------- Static fields ----------------------------------------------
        // Logger
        private static Logger logger = Logger.getLogger(FileResourceServlet.class.getName());
         * Root context for all JNDI lookups
        private static final String ROOT_CONTEXT = "java:comp/env";
         * JNDI lookup name of the binary path value
        private static final String BINARY_PATH_KEY = "binaryPath";
         * Default in case looking it up from the environment fails
        private static final String DEFAULT_FILE_RESOURCE_PATH = "/home/cp/bin";
        // -------- Fields -----------------------------------------------------
        private String fileResourcePath = null;
        // -------- Methods ----------------------------------------------------
         * Initializes the servlet.
        public void init(ServletConfig config) throws ServletException
            super.init(config);
            try
                //Get Norm's info
                Context initCtx = new InitialContext();
                Context envCtx = (Context)initCtx.lookup(ROOT_CONTEXT);
                fileResourcePath = (String)envCtx.lookup(BINARY_PATH_KEY);         
            catch( Exception e )
                logger.error("Error looking up file resource path, going with " +
                             "default value - " + DEFAULT_FILE_RESOURCE_PATH, e);
                this.fileResourcePath = DEFAULT_FILE_RESOURCE_PATH;
            logger.debug("File Resource Path:" + fileResourcePath );
         * Destroys the servlet.
        public void destroy()
         * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
        protected void processRequest(HttpServletRequest request,
                                      HttpServletResponse resp)
                                      throws ServletException, IOException
            ServletContext sc = getServletContext();
            String pathInfo = request.getPathInfo();
            logger.debug("Path Info: " + pathInfo);
            if (pathInfo!=null && !pathInfo.startsWith("/")) pathInfo = "/" + pathInfo;
            String filename = fileResourcePath + pathInfo;       
            logger.debug("Binary Filename:" + filename );
            // Get the MIME type of the image
            String mimeType = sc.getMimeType(filename);
            if (mimeType == null)
                //sc.log("Could not get MIME type of " + filename);
                logger.warn("Could not get MIME type of " + filename);
                resp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
                return;
            // Set content type
            resp.setContentType(mimeType);
            // Set content size
            File file = new File(filename);
            resp.setContentLength((int)file.length());
            // Open the file and output streams
            FileInputStream in = new FileInputStream(file);
            OutputStream out = resp.getOutputStream();
            // Copy the contents of the file to the output stream
            byte[] buf = new byte[2048];
            int count = 0;
            while ((count = in.read(buf)) >= 0)
                out.write(buf, 0, count);
            in.close();
            out.close();
         * Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request,
                             HttpServletResponse response)
                             throws ServletException, IOException
            processRequest(request, response);
         * Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request,
                              HttpServletResponse response)
                              throws ServletException, IOException
            processRequest(request, response);
         * Returns a short description of the servlet.
        public String getServletInfo()
            return "Short description";
    }

  • Message "not downloaded from server. You need to take this account online

    After upgrading to 10.4.9, when I click on any of the old emails in my inbox I get the message "this message not downloaded from server. You need to take this account online in order to download it."
    I can still read all email in any other mailbox.
    I can read all email received after upgrading.
    I appreciate any help.
    G4 17 inch   Mac OS X (10.4.9)   1 gb ram

    You upgraded to 10.4.9 from what?
    If you upgraded from Mac OS X 10.3 or earlier, the problem is that the conversion from Mail 1.x to Mail 2.x is broken. Take a look at the following thread to better understand the problem:
    Help! "You need to take this account online in order to download it."
    More specifically, if this is a POP account, the following procedure should allow you to fix the Inbox problem. A similar procedure should allow you to fix other mailboxes that might also be affected:
    1. Quit Mail if it’s running.
    2. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to fix the problem. You can do this in the Finder by dragging the folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is stored.
    3. Create a new folder on the Desktop and name it however you wish (e.g. Inbox Old). It doesn’t need to have an .mbox extension.
    4. In the Finder, go to ~/Library/Mail/POP-username@mailserver/INBOX.mbox/.
    5. Move the files mbox and Incoming_Mail out of INBOX.mbox, into the Inbox Old folder just created on the Desktop. These files contain all the messages that were in the mailbox before the upgrade to Tiger, and maybe even some messages that had been deleted. mbox is the most important. Incoming_Mail may or may not be present.
    6. Move any strangely-named Messages-T0x... folders to the Desktop (not into the Inbox Old folder). These folders are to be deleted after fixing the problem. They are temporary folders created during an import or an indexing process, and Mail should have deleted them when done. Their presence is a clear indication that something didn’t work as expected. If you’ve been using Mail after the conversion and have already tried to fix the problem by rebuilding the mailbox or something like that, they might contain messages that are neither in Messages proper nor in the mbox file, so keep them around until the problem is fixed.
    7. Move everything else within INBOX.mbox, except the Messages folder, to the Trash.
    The result of the above should be that INBOX.mbox contains the proper Messages folder only, and the Inbox Old folder on the Desktop contains the mbox and Incoming_Mail (if it exists) files only. Now, proceed as follows:
    8. Open Mail.
    9. The account’s Inbox should properly display in Mail as many messages as *.emlx files are in ~/Library/Mail/POP-username@mailserver/INBOX.mbox/Messages/. If that’s not the case, select the mailbox in Mail and do Mailbox > Rebuild.
    10. In Mail, do File > Import Mailboxes, choose Other as the data format, and follow the instructions to import the Inbox Old folder that’s on the Desktop.
    As a result of doing the above, some messages may be duplicated now. Andreas Amann’s Mail Scripts has a Remove Duplicates script that you may find useful.
    Do with the imported mail whatever you wish. You may move the messages anywhere you want and get rid of the imported mailboxes afterwards.
    If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
    Take a look at the following article (also referenced in the thread I mentioned at the beginning of this post) to learn what you might have done before upgrading to minimize the risk of this happening, and what you may do after fixing the problem to avoid similar issues from happening in the future. DON’T do now what the article suggests, though, as that would make things worse in the current situation:
    Overstuffed mailbox is unexpectedly empty
    Ask for any clarifications or if you need further assistance.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Mail not being downloaded from server?

    Hi I've been having an issue with my iPhone 4S (iOS8), where the mail pops up and you can see the preview, but when you go to open it it says "this message has not been downloaded from server" Any help would be greatly appreciated thanks

    Hi there Ella,
    If your mail have yet to view your email on your phone, I wld start by quitting the mail app, and trying again:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    Then use the troubleshooting in this article to help resolve the issue if it persists:
    Get help with Mail on iPhone, iPad, and iPod touch
    To make sure that you're connected to the Internet, open Safari and go to www.apple.com.
    Log in to your email provider's website to make sure that the account is active and the password is correct.
    Make sure your settings are correct using Mail Settings Lookup.
    Restart your iOS device.
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Tap the affected email account.
    Tap Delete Account.
    Add your account again.
    Follow these steps for specific alerts.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • How do i find a .mp4 file downloaded from email to my iphone

    How do i find a .mp4 file downloaded from my gmail email to my iphone. Unable to locate the file or maybe not sure how to go about it?

    You don't, as ringtones are a one time purchase and as such can't be redownloaded.
    If you still have them on your iTunes library, you may sinc them from there.
    If you have a backup that contains them, you may restore your phone from that backup.
    Or you can go to expresslane.apple.com and try for a re-issue. Which they do only occasionally and depending on the circumstances.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • From Forms 5.0 I want to copy a file/folder from one location to another.

    Hi,
    I have a question and I really appreciate your help.
    My Question is
    I would like to copy a file/folder from one location to another.
    (For ex: From my Hard disk to a Network folder).
    I want to do this from Oracle Forms 5.0 and my operating system is Windows 2000/NT Workstation.
    At present my users are doing this by using drag and drop windows functionality,
    But now they want to do this by using a GUI screen.
    I would greatly appreciate if somebody can answer my question.
    Thank you very much and have a nice day.
    Thanks & Regards
    Sanjeev.

    Hi Shay,
    Am able to copy the files/folders by doing the follwing.
    Declare
    My_Command Varchar2(1000);
    Begin
    MY_COMMAND := 'XCOPY /E ' ||:FROM_LOC ||' '|| :TO_LOC ;
    HOST(MY_COMMAND);
    End;
    But my problem is am not able to trap the errors.
    Do you have any idea?
    Thanks

Maybe you are looking for

  • Error when creating a new database on oracle 9i release 2

    hi friend, i have a question when i create new database manually then i get error. error like this create database alauki error at line 1: ORA-01092 : ORACLE instance terminated. Disconnection forced the alert log file is Dump file e:\ritesh\alauki\b

  • Using AirMac in Japan

    Can somebody help me, please? I've just moved to Tokyo. My apartment is fitted with an NEC router and NEC warpster wireless (both apparently very new). For obvious reasons, I wanted to switch to Airport Extreme which I've used for years in the uK wit

  • Would anyone please give me a test result of Oracle 9iFS

    We want to build a content management system. We've already built a MIS and the data stored in a Oracle database . The data in the content management will be used by the MIS . would anyone please give us a test result of Oracle 9iFS. We want know the

  • Personalization: can I reference an item value (like :LINE.ORDERED_QUANTITY) on a different order line?

    I am constructing a forms personalization for the "Sales Orders" form. I would like to be able to reference item values on order lines other than the current line.  Is this possible? Thanks, Bill

  • Use SLT to transfer to non-HANA target

    Tobias Koebler, is it possible to use SLT to replicate SAP source tables to a non-HANA target while still using HANA as a target? This would have to be a multi-usage to both HANA and OtherDB. The only information I can find is this post SLT to non HA