Problem viewing files that were saved as Attachments using PSoft functions

Hello,
I am trying to apply the code delivered in FILE_ATTACH_WRK to send an attachment to our server, and also to retrieve (view) the file. I am able to save the attachments and also to retrieve them for viewing. But something is happening to the files when I return them from the server to view them. For example, I saved a text file, but when I pull the file back for viewing it appears that all the carriage returns have been removed. A file saved like this....
-- Script : delete_bad_referral.sql
--+
-- 01/10/2011 rjm
--+
-- Return failure code when program does not complete successfully
whenever sqlerror exit failure;
whenever oserror exit failure;
Comes back looking like this:
+-- Script : delete_bad_referral.sql -- -- 01/10/2011 rjm -- -- Return failure code when program does not complete successfully whenever sqlerror exit failure; whenever oserror exit failure; set echo on set feedback on set head off set linesize 500 --select select * FROM sysadm+
Has anyone seen this before? Know how to correct it?

Apologies if I switch gears here. Your last post was helpful and may have helped to resolve the problem with .txt files. But I just returned from a meeting and the customers have refined their requirement so that users can only attach files within the Office suite - ie Word, Excel, PowerPoint, etc.... So .txt files will not be a problem.
However, I just encountered a problem working with an Excel file as an attachment. I have no problem returning a .docx file - it opens just fine in Word. I can also save a .pdf file and have it open fine using View. But when I attach a .xlsx file, viewing it returns a .zip file! If I click Open, it breaks the file into several directories including _rels, docProps, xl, etc.... and several .xml files.  Nothing in the unzipped structure is viewable as an Excel file.
What would be causing this to happen?
Edited by: rjmerryman on Dec 6, 2011 12:28 PM

Similar Messages

  • How to view waveforms in DIAdem that were saved in Labview using "write waveforms to file" VI

    I'm new to DIAdem but would appreciate any help to my question.
    I seem to be having a little trouble but how do I view waveforms
    in DIAdem that were saved in Labview using "write waveforms to file" VI??
    tks, Terry

    Hello,
    There are several ways to write waveform data from LabVIEW so it can be accessed from DIAdem. Two of the easiest ways are to use either .lvm files or .tdm files. You can write .lvm files using the Write LabVIEW Measurement File.vi which is located in the File I/O palette. You can write .tdm files by using the storage VIs which are located in the File I/O >> Storage palette. So, I would recommend using either of these file formats if you are developing a new application since these can be loaded into DIAdem directly.
    If you are interested in loading files that where already created from the Write Waveforms to File.vi, I am wondering what file type you are using. For example are you saving your files as .dat or .txt with your Write Waveforms to File.vi? Feel free to reply to this thread with this information and I would be glad to help you out.
    Regards,
    Kevin L.
    Applications Engineer
    National Instruments

  • When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    # Question
    When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    Hello.
    I believe this is a Windows related issue, since it's the windows Save File manager we're talking about here (right?). You should contact Microsoft for help on that one, I believe. You'd expect to be able to delete the entries by simply tapping ''Delete'' on your keyboard when they are focused (that's how it goes for deleting specific form autocomplete entries in Firefox), but I haven't tried that.
    I'm sorry I can't be of more help.

  • How do I get Streamclip AVI files that were saved without first installing Quicktime ALternative 1.81 to play in Premiere Elements 11?

    I had Hi-8 "home movie" tapes transferred to mp4 files. To pull many short clips from these long files, I used MPEG Streamclip 1.2. The default save for these short clips was mp4. Either they didn't work in Adobe Premiere Elements 11 or I thought they wouldn't -- I can't recall now -- so I saved each clip as AVI. These AVI files won't play at all in Premier Elements. I Googled for advice and found that I needed to convert to Quicktime Alternate 1.81. I fear this had to be done before I saved the clips, but I didn't realize that. Still, I just now uninstalled Quicktime 7 and installed Quicktime 1.81, then tried converting the AVI clips files, first back to MP4 (didn't work at all in PE11) and then to MOV (only played audio). The AVI files play fine in Windows Media Player and VLC.  All I have are the original files saved as AVI in Streamclip. Is there any way to get these to play and be editable in Premiere Elements 11? I've attached a jpeg capture of a gspot readout for one of these files. THANKS!

    kidimi
    Glad that you finally sorted out what you were doing and discovered DV AVI.
    In your particular situation Prism would serve your purposes of generating the DV AVI 4:3 since your footage is 640 x 480. However, for others with different footage, the free Prism shortcoming is that it cannot offer DV AVI widescreen 16:9; whereas MPEG Streamclip can do the job for 16:9 as well as 4:3.
    QuickTime Alternative 1.8.1 that does come with the MPEG Streamclip's required MPEG2 Playback Component (free) also meets the Premiere Elements requirement for QuickTime installed on computer with Premiere Elements to work. This works in spite of the fact that QuickTime Alternative 1.8.1 is not the latest version of the regular QuickTIme.
    In post 2 of the following older thread, I detail the use of Prism (for 4:3) and MPEG Streamclip (for 4:3 and 16:9) to produce the DV AVI file.
    Finished video of project looks "weird" / slightly choppy? - Elements Village
    Any questions or need clarification, please do not hesitate to ask.
    Moving forward, do not use AVCHD (MPEG4 AVC/H.264) or H.264.avi in Premiere Elements. It is not supported.
    ATR

  • How do you view emails that were put into archive?

    How do you view emails that were archived?

    Try using a data recovery product such as the ones listed here. Don't write anything else to the drive until the file is recovered or you choose not to recover it.
    (117186)

  • Cannot open InDesign files on Mac that were saved on PC

    I subscribe to Create Suite and have it installed on both my Mac and PC. So, they should both be the most current version, right? All updates are current.
    A few (not all) InDesign files that were created/saved on a PC will not open up on my Mac. I get this message:
    Cannot open [file name] because it was saved with a newer version of Adobe InDesign CC (10.0).
    You must use that version or later to open the file. To then enable it to be opened in these version, choose Save As InDesign CS4 or later, or export to IDML.
    "Save As InDesign CS4" actually has IDML in parenthesis, so it's all one option. When I bring the file over to my mac, it doesn't open properly (for example all the images are gone).
    Could it be possible that there is a newer version of InDesign only for my PC and my Mac can't open those files? Seems ridiculous.

    You would have no problem opening a file in version 10.0 if it was saved in 10.1, just as you would have no problem opening any other version dot release file in ay dot release of that version.
    The problem here is the PC was updated to CC2014 and the Mac was not.
    The OP also mentioned missing pictures when using IDML. IDML removes the previews, but you would need the linked images in any case for output, regardless of whether  you use .indd or IDML to move the file.

  • I can no longer print PDF files that were scanned with the very same MX479 on Windows XP, SP3

    I can no longer print PDF files that were scanned with the very same MX479 All-in-One.
    I have an (obsolete) Windows XP, SP3 computer.  Obviously, no updates from Microsoft
    have occurred that might have impacted my Canon Pixma MX479.
    When I attempt to send 1 or more pages from a PDF file to the printer, I don't even get the
    Canon PIXMA popup that would allow me to cancel the print job.
    Yet the Print Queue icon appears in the lower right corner of my monitor.
    If I view the Print Queue, the print queue shows "spooling" and does nothing more.
    If I attempt to CANCEL the print job in the Print Queue, it simply changes to "deleting -
    spooling".
    I cannot cancel the print job that shows NOT RESPONDING via Task Manager, either.
    In fact, the only way the Print Queue icon disappears is if I totally reboot my computer!
    "Luckily", I can still print e-mails, Word documents, and even my downloaded PDF of my
    bank statement.
    So, I was thinking that it was *only* PIXMA'S OWN SCANNED PDFS that could not be
    printed ON THE SAME PIXMA 479.
    However, I have since realized that I also cannot print USPS Signature Proof of Delivery
    PDFs that I received from USPS via e-mail.
    So why can I print *some* PDF files, but not *all* PDF files, like I previously could do?
    THESE SCANS ARE OF LEGAL DOCUMENTS, SO I WILL LIKELY HAVE TO E-MAIL
    THE REQUISITE, PREVIOUSLY SCANNED PDFS TO FEDEX TO PAY FOR *THEM*
    TO PRINT THEM.
    NOTE: I *have* tried turning the PIXMA off, unplugging it, rebooting the computer, plugging
    the PIXM in and restarting the PIXMA - still no ability to print PIXMA-scanned PDFs.
    And, I find it very strange that e-mails, Word documents, and some other PDFs print with
    no problem "around" "NOT RESPONDING" PIXMA print jobs.
    I have owned Canon printers for years, including the MX420, and the MX340.

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • Is there a way to combine multiple files that were scanned individually into one?*

    Is there a way to combine multiple files that were scanned individually into one?*

    Assuming the scans are all PDFs, here is one easy way:
    Open the first PDF in Preview.
    Duplicate (File > Duplicate) if you want to preserve the original.
    Choose View > Contact Sheet.
    Drag and drop the other files from the Finder into the Contact Sheet window. You can select the files one at a time or multiple files at once.
    Arrange the contact sheet icons in the desired order.
    Save.

  • Where do I find files that are saved "to this device"

    Where do I find files that are saved "to this device"?
    Thanks

    You can not download files to the device through safari.
    Photos and PDFs can be saved in photo and PDFs in iBook.
    Files can be saved through iTunes on a computer, they have to be placed in the app used to view them.
    What is it you are trying to do?

  • Restoring files that were on an external disk

    Hi!
    Time machines does a backup of my Macbook Pro as well as of an external disk on which I keep multimedia files.
    Entering Time Machine, I'm able to retrieve files that were on my external disk no problem as long as the external disk in question is connected to the computer. Then, I'm able to go back in time, and search for files.
    However, if the external disk is currently not connected to the computer, then, when I access my Time Machine backup, I do not see this external disk listed (I see only my Macbook Pro folders), even when I go back in time. So I do not seem to be retreive files associated with this external disk.
    Is this normal?
    What if I loose my external disk, how will I be able to retrive the backup files from my Time Machine backup disk?
    Hope this is clear...  :-)
    Thanks

    Tic_Tac wrote:
    ... What if I loose (sic) my external disk, how will I be able to retrive (sic) the backup files from my Time Machine backup disk? ...
    Since you haven't got any replies so far here is what I would do, but don't know whether it would work. Worth a try.
    Connect the external drive and run a manual Time Machine (TM) backup. Disconnect the external drive. Pretend you have lost it
    Connect another GUID Mac OS X Extended (Journaled) format hard drive with a partition of the same size as the external drive and rename the partition to the same name as the external.
    Can you now see the TM backup of the external drive?

  • How do I find and download my pictures and movies that were saved in icloud and itunes library?

    How do I find and download my pictures that were saved to itunes and icloud in my itunes match? I think that I lost my pictures and I really do need them.

    Your pictures are not saved in iTunes Match; that is a music service. If you restore your device from a backup saved in iCloud, you will get pictures back, but any pictures taken since the backup will be lost, so you will want to import those to your computer first.

  • My desktop App for Story  has malfunctioned and I am no longer able to access the files that were on it, how do I save those documents and reinstall the app?

    I have a Story + desktop app for Adobe on my hard drive and it was supposed to sync up to my online app (or cloud) however it never did and now I cannot access my desktop app, nor the important files that were on it.
    __I.E. when I try to press the [Sign In] button, nothing happens.
    So I figured to find those files elsewhere, copy them somewhere safe then try re installing the app again.  However, I cannot find those files anywhere on my hard drive.

    Adobe Story stores its local files on the following location:
    On Windows,
    1. Open Windows Explorer and type '%appdata%' in the address bar
    2. Make a copy of 'com.adobe.AdobeStory.<some-number>' folder. This folder contains Story's local data.
    On Mac,
    1. Open Finder.
    2. From 'Go' Menu, open 'Go to folder'
    3. Type '~/Library/Preferences' and hit enter
    4. Make a copy of 'com.adobe.AdobeStory.<some-number>' folder. This folder contains Story's local data.

  • I cannot open any pdf files that are saved to my computer. Keep getting error 507:507

    Every time I try to open a pdf file from a website or through an email it will not let me opne the file. I can open files that are saved to my computer but that doesn't do me much good in some scenarios. I run IE 10 on Windows 7 Home with Adobe Reader XI 11.0.04. I have tried unsinstalling and reinstalling. It works fine for a few days then the errors start again. HELP!

    Thank you Pat!!!
    Craig Ekonomos
    [email address removed]

  • Re: My Macbook 2009 model was recently upgraded with a new hard drive and upgraded to Mountain Lion OS. I am battling to retrieve all my photos that were ''saved'' in iCloud. Can someone help?

    Re: My Macbook 2009 model was recently upgraded with a new hard drive and upgraded to Mountain Lion OS. I am battling to retrieve all my photos that were ''saved'' in iCloud. Can someone help?

    If you are trying to recover photo stream photos, they are only held in iCloud for 30 days.  All you would be able ro recover is photo stream photos from the last 30 days.
    If you have an iOS device that still has the photo stream photos one it, you can save them to the camera roll by opening the my photo stream album, tapping Edit, tap the photos, tap Share, tap Save to Camera Roll.  Once in the camera roll, they can be imported to iPhoto on your Mac as explained here: http://support.apple.com/kb/HT4083.

Maybe you are looking for

  • Itunes crashes when attempting to submit CD track names

    After importing an Audio CD I update the track names. This has worked perfectly until the most recent upgrade of Itunes. Steps to consistently cause the crash: In Itunes, click on Advanced Menu option. Select 'Submit CD track names' Enter a more than

  • Can I use my iPod touch 4G as an external camera to my MacBook?

    I want to use my iPod 4G (or any other iDevice) as an external camera on my Mac. Is there any way I can do this?

  • MIDP 2.0 reference Implementation Strange code

    I' ve found a strange code in the http/Protocol.java of the Reference MIDP 2.0 Implementation. Line 139 in the static initializer. prop = Configuration.getProperty(                             "com.sun.midp.io.http.max_persistent_connections");      

  • Time of creation of MIRO document

    Hi all How to view the time of a particular MIRO document when it was raised?? Regards, Ram

  • Execute DOS command inside java

    I have a java program that reads each new user from an inputfile and writes that same user to an output file. The program works fine and is shown below: import java.io.*; public class FileStreamsTest { public static void main(String[] args) { try { F