Encoding Error -- file becomes offline

I just bought Studio Pro 4 and created a simple project -- burning one (16 gig) movie (project file is 3.3 GB). In the graphical window everything looks fine but when I try to burn it, 8 hours later the log reads: Encoding error (which links back to the source material). And now in the graphical window the movie is offline. This is an internal hard drive. Any ideas out there? Thanks.

thanks for your reply. I can try that but I would rather just burn the DVDs as I've always done.
Why are my files becoming off-line and causing the encoding to error -- that's really what I'd like to know.

Similar Messages

  • Encoding error, unrecognizable video file

    I've been trying to compress a project from FCP 5 in compressor using the Mpeg-2 60 minute high quality encode preset. I'm able to get the encoding process started without a hitch and it appears the project does go through the entire encoding process. However, the final video file that is outputted from compressor is unrecognizable. It appears as a blank icon in the folder I set for it. I have tried multiple different project files (some of which I have not touched in months) and the all come out of compressor as unrecognizable file types. Interestingly, compressor is able to encode audio files appropriately. The problem appears to be solely linked to video files. I'm using Compressor 2.0.1 amd FCP 5.0.3. Any ideas what the problem might be? I posted this also in the compressor discussion board.
    Thanks.

    Hi Novitskyam,
    Where is the video file located on your system.
    Please copy the file to your local hard drive and then try to import
    the file. Also check whether you have quicktime player installed.
    Thanks

  • Voting file is offline

    Hi Gurus,
    I seen many time that Oracle Enterprise manager raise alert for "Voting disk offline". But this error does not appear into cluster alert log (alert<Node-name>.log). Even, I have checked O/S log (/var/log/messages) but never found error relevent to "disk inaccesscible"/"Disk distruption".
    Please sugesst on following queries.
    1. Why does this error only appears into the Enterprise manager.
    2. If votidisk inaccesible, it means disk that contain votingdisk is suddenly become inaccessible to O/S. If yes, then why this disk error is not logging into O/S log.
    3. Am i missing any log file to check.
    Following is the error message on Enterprise menager.
    CRS-1006:The OCR location +DATA is inaccessible
    CRS-1604:CSSD voting file is offline
    CRS-1606:The number of voting files available, 0, is less than the minimum number of voting files required, 1, resulting in CSSD termination to ensure data integrity
    CRS-1605:CSSD voting file is online
    Thanks & Regards,
    Rajdeep

    Hi,
    To me it seems to be EM bug. Are you using EMI or EMGC?? Check for bugs. Does the ASM alert logs gives any information regarding +DATA getting offline? Can you paste the output of
    crsctl query css votedisk
    also
    cluvfy comp vdisk -n <node1>,<node2>
    Anand

  • Data files are offline / tablespace offline

    I am confused on the concept of data file offline.
    What happened when you take data file offline?
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?
    Why is tablespace offline but data file is still online?
    Please help!
    Thanks
    S.

    ski123 wrote:
    I am confused on the concept of data file offline.
    What happened when you take data file offline?The offline datafile means simply that the file is not available anymore for the access. All the objects for the offline file become inaccessible for the users to access.
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?Yes it can happen that the data file goes offline because of any kind of damage either over the disk, or also with the file itself. For example, there may be a chance that the file is not available anymore , may be because someone has deletedthe file. So most of the times, Oracle would offline the file by itself. In any case, if the file doesn't go offline by itself than you need to take it offline yourself as the recovery for the file can't happen if its online. You would get the error messages that oracle can't acquire the exclusive access over the file.
    Why is tablespace offline but data file is still online?Not sure that I did see this ever myself. Tablespace is nothing but the container for the datafile so if there is a file of it which is offline and that's the only file in the tablespace, the tablespace can't stay as online. Show us an output for the same.
    The links given by Anantha are must for you to read the cocept of offlining a tablespace. Make sure you read them for sure.
    HTH
    Aman....

  • Media Encoder error about activation when exporting in activated version of Premiere CS4

    I get the following error when I try to export media in Premiere CS4 (Note: I have a legal and activated copy of CS4 Master Collection). In Premiere, it appears to go through (the loading progress bar fills and then disappears) but when I check the folder, it's empty. And then I notice that there's another icon in my taskbar and oh hey, it says "AMT Subsystem Error: Thank you for using Adobe Media Encoder CS5. The Adobe product that installed Media Encoder has not activated. Please launch and activate that Adobe product before continuing to use Media Encoder."
    I'm using Windows 7 x64 (8gb of RAM). I tried installing the patch as suggested in this thread: http://forums.adobe.com/thread/719451 but it only claimed to not have the corresponding program installed. I tried checking to see if there were any updates - there weren't.
    A quick check on my computer reveals that both Media Encoder CS4 and CS5 are installed. I looked to see if there was a way to uninstall the CS5 version but didn't see it. The only way I think I could have gotten it was though some sort of Adobe update.
    Any ideas of how to fix this?

    Hi: I have the same problem, but it happened very suddenly and after very specific updates. I successfully encoded a file using the CS6 encoder. Then, I allowed updates to Adobe Media Player and Adobe Air. I tried to encode with CS6 again and it had stopped working - all in the space of 5 minutes. A reboot did not help. I also have CS4 and CS 5.5 installed and have had all along (which means that you can have them and use the CS6 encoder). Since I can no longer use the CS6 encoder, but am able to launch an older one, I am using that for the moment. I hope that this reply will be of some help in finding a solution.

  • Adobe Media Encoder Error Compiling movie Unknown Error occurs within 1-2 minutes of Exporting

    I've looked at a number of threads about this, and none seem to solve the issue. I am using the Mac version of PPRO CS6, with AVCHD h.264 source clips (mts) directly, and the timeline will play the program, but I did noticed that certain cuts the program video is still for that cut, but the encoding error does not fail in those cuts, so its puzzling.  I've tried different output formats, and each will fail at a different point. There are only 4 video clips (all identical format and frame rate) in this, but I have 180 cuts from the 4 clips. There are no graphics, titles, effects, stills.. none of that - just straight cuts. Only a fade in the beginning and fade out at end I also will get the same error if I render the sequence (also at  a different point, in the middle of a cut), with a same error. The total length of the edited sequence is 22 minutes, the source clips are well over 3GB each. So to convert to another format would take forever, so that's why its kept in original format.  Anyone found a solution?

    That error can happen for many reasons...one of the reasons that I occassionaly get it is because I try exporting a movie to an external drive that has been formated in the old FAT32 instead of the NTSF standard.  FAT32 only allows for file sizes up to 2 gigs.  And as soon as it reaches that...I would get that error.  I don't know if that is why you are getting that error...but it would be easy to check.  1) are you generating a file that is over 2 gigs?  2) is your drive that you are exporting to FAT 32 (just right click the drive in My Computer and select "properties" then just look for what it says next to "file system".

  • Adobe Media Encoder (Error compiling movie) Unknown error when writing to Isilon OneFS 6.5.5.18

    Adobe Media Encoder (Error compiling movie) Unknown error when writing to Isilon OneFS 6.5.5.18 while using Adobe Premiere Pro.
    Process:         Adobe Premiere Pro CC 2014
    Path: /Applications/Adobe Premiere Pro CC 2014/Adobe Premiere Pro CC 2014.app/Contents/MacOS/Adobe Premiere Pro CC 2014
    Identifier: com.adobe.AdobePremierePro
    Version:         8.1.0 (8.1.0)
    Code Type: X86-64 (Native)
    Parent Process: launchd [2538]
    Responsible:     Adobe Premiere Pro CC 2014
    Date/Time: 2015-01-06 14:04:23.500 -0700
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Crashed Thread: 55  Dispatch queue: com.apple.root.default-priority
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    Customer created test export with 777 permissions and set mount parameters to the following:
    mount_nfs -o vers=3,tcp,rdirplus,intr,nolocks,async,rsize=32768,wsize=32768
      -- Original mount options:
         General mount flags: 0x40 async
         NFS parameters: vers=3,tcp,nolocks,rsize=32768,wsize=32768,rdirplus
      -- Current mount parameters:
         General mount flags: 0x4000058 async,nodev,nosuid multilabel
         NFS parameters: vers=3,tcp,port=2049,nomntudp,hard,nointr,noresvport,negnamecache,callumnt,nolocks,quota, rsize=32768,wsize=32768,readahead=16,dsize=32768,rdirplus,nodumbtimr,timeo=10,maxgroups=16 ,acregmin=5,acregmax=60,acdirmin=5,acdirmax=60,nomutejukebox,nonfc,sec=sys
    The pcap shows once the movie is created a lockup call is responded from Isilon with Error: NFS3ERR_NOENT
    478         V3 CREATE Call (Reply In 479), DH: 0xea5f731c/QBRSN-0-0-1.mov Mode: UNCHECKED
    479         V3 CREATE Reply (Call In 478)
    484         V3 LOOKUP Call (Reply In 485), DH: 0xea5f731c/._QBRSN-0-0-1.mov
    485        V3 LOOKUP Reply (Call In 484) Error: NFS3ERR_NOENT
    V3 LOOKUP Reply (Call In ....) Error: NFS3ERR_NOENT  -   This is by design of OneFS, we coalesce files and then flush them out to disk which is why the commit time is accurate but the file is not immediately available. however when an async option is used within the mount options this should be avoided if writing asynchronously to the cluster.  Has anyone else seen this behavior lately? (current workaround is to store locally and transfer to the cluster via Finder)

    That error can happen for many reasons...one of the reasons that I occassionaly get it is because I try exporting a movie to an external drive that has been formated in the old FAT32 instead of the NTSF standard.  FAT32 only allows for file sizes up to 2 gigs.  And as soon as it reaches that...I would get that error.  I don't know if that is why you are getting that error...but it would be easy to check.  1) are you generating a file that is over 2 gigs?  2) is your drive that you are exporting to FAT 32 (just right click the drive in My Computer and select "properties" then just look for what it says next to "file system".

  • Why does FCP error "File Not Found" when I try to open my sequences????

    I recently updated all of my software and the following day I started getting errors "file not found" when I would try to open a sequence. Now all of my sequences are being lost and I am losing time and money because I can't meet deadlines! This *****!!! With one sequence I had to reedit the entire thing from scratch and when I did for some reason the old one would then open. But the next time I opened FCP both sequences would error out. Following the "file not found" the computer responds with another error "error: out of memory" What the devil is going on with this crap?

    I seem to have figured out what my problem was. After trying to build the same project (that failed on the Mac Pro) on my laptop and encountering the same errors, I realized that the problem had to be with one or more of my assets and not my new version of FCP, since my PowerBook is running FCP 5.0.4 and my Mac Pro is running FCP 5.1.2.
    In my case the "corrupt" file was a Photoshop PSD file. In the past (FCP 4.5) I was able to use PSD files with hidden layers. I would merge the visible layers into one layer, keep the hidden layers and save the file. Once in FCP, I imported the PSD file and kept right on truckin'. I've done this for years. For some reason now with FCP 5.1.2 (and 5.0.4), that's not flying anymore. Once I "Flattened" the PSD file in Photoshop (deleting all of the hidden layers) I was able to build the project without any errors.
    Interestingly, the technique I used to figure out which file was "corrupt" also allowed me to salvage parts of some of my "lost" sequences. I saw this posted in a forum at Creative Cow (creativecow.net). Basically, I opened up the project, clicked the OK button after the File Not Found error, went into the Browser, right clicked on the offending sequence, selected "Make Offline". When I double clicked the sequence it opened in the timeline with all of my assets offline. Then in the timeline, one by one, I right clicked on each clip and selected "Reconnect Media". Once I linked up the media, if I didn't get an error message, I would save as a new project (to salvage what WAS working), and go to the next clip. I did this until I found the offending PSD files.
    I hope this helps. Now it's time to play "catch-up"
    Mac Pro 3Ghz, 1GB RAM, ATI Radeon X1900 XT   Mac OS X (10.4.8)  

  • Error File not Found in CS 5.5

    When I go to open up PP CS 5.5 it provides a list of possible projects I can open up. Click on a project and it opens accordingly. However, over the past 2 days it has become problematic. I can click on the listed project but I now receive an error message: Error file not found. PP will not open up. I haven't moved any files, folders or projects around. I have simply closed the project, quit PP and then opened it again when wanting to edit. I have tried opening up the auto saved project file and I receive the same message?

    Hi Todd both your solutions (and the one suggested by Colin) works initially. Dbl click the project file and it opens PPro.  However, I tried this on another project which has a 3rd party pllugin (Smartsound Sonic Fire Pro) in it. Things get interesting with Smartsound being activated with me unable to quit out of it and I am not able to access Premier Pro. I have to Force Quit both programs. Then when I try to dbl click on the program that opened up OK the error message returns: File format not supported. There is no Smartsound file involved in this project? Same thread? New thread? many thanks for your responses

  • Encoding error when burning mp4 videos to dvd-rw using idvd

    hi all, i'm trying to burn mp4 videos on a blank dvd. i used the magicdvd option in idvd 08 but the error message of "encoding error" had appeared before it burned the videos to the dvd. could you please let me know if mp4 is not supported by idvd? i heard i must convert mp4 to mpeg-2 in order to watch it with regular dvd player, can i do that with mpeg streamclip? is mpeg-2 supported by idvd? thanks!

    Hello Alarkin,
    is there a free alternative to toast?
    Yes, it's Disk Utility - just follow this procedure:
    1. create the disk image in iDVD
    2. double-click the resulting .img file to "mount" it. Next launch DVD Player to view your DVD .... if everything is fine, close DVD Player and eject the virtual disk.
    3. Open Disk Utility and drag the disk image into the left hand pane, then hit burn.
    Note: Set the burn speed to 2x or even 1x. Most burn errors are the result of high burn speeds. Also use only high quality DVD-R media (e.g. Verbatim)
    hope this helps
    mish

  • Excel Files become "Broken" and cannot be opened

    Our environment is as follows:
    SharePoint 2013 server, web application running in 2010 mode.  Our users are primarily on thin clients in a 64-bit Citrix environment running Office 2013 applications.  We use a redirected desktop/my documents on a network drive so that users will
    have their documents and settings on any computer they log into.
    The issue we've run into is that sometimes one of the Excel files becomes "broken" and will no longer open.  This seems to be related to when a user has the file open for long periods of time and loses connectivity or if the user's Excel /
    session crashes.  When the file becomes broken, the symptoms are:
    Open document from SharePoint and Excel splash screen reads:
    1.  Starting...
    2.  Contacting the Server For Information.  (This message lasts ~2 min)
    Then an error message in Excel states:
    "Microsoft Excel is waiting for another application to complete an OLE action."
    OK
    "Could not open 'https://sharepointurl/site/subsite/documentlibrary/document name.xlsx'."
    OK
    Microsoft Excel cannot access the file
    'SameFilePathAsAbove'.  There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another program.
    The workbook you are trying to save has the same name as a currently open workbook.
    OK
    Empty workbook
    We've had problems determining "who" broke it, but the result is the same - nobody is able to open it, whether using Excel2013, Excel2010, or the Excel Services thru the SharePoint "view in browser" option.
    Our terminal servers reboot nightly, we've tried rebooting the 2 SharePoint application servers and the SharePoint SQL server to no avail.  It seems like the file is stuck waiting for itself.  In some cases, we've found that older versions of the
    file can be restored (generally a few versions back) but when versioning is not enabled then that possibility is out.
    We cannot seem to resolve where the issue lies at it's core or how to resolve it.  This happens much more frequently for the documents that users keep open for long periods of time making modifications to them, but we suspect that's because they are
    just more likely to have a SharePoint document open if their computer or Excel client crashes.

    They don't want us (the dealers) to edit the spreadsheet, but they do want us to read it. It's their pricelist, they wouldn't sell a lot of equipment if we couldn't see how much it costs! The point is that Numbers won't even open a spreadsheet that is edit protected, not read protected. This is a major issue, it should at the very least tell me I can open or import the sheet as a read only.
    Excel will always open the spreadsheet, it just can't make changes to it.
    For right now, when I need to get information from the pricelist in Excel, I have to copy and paste the info from the edit protected page to another blank sheet. This is a royal PITA because the Excel pricelist has 50 plus pages. I have been officially told to do that by my manufacturer. But they won't give anyone the password to unprotect the edit function of the sheet. Go figure.

  • UTF-8 Encoding errors during nightly batch runs

    My boss recently tasked me with researching (and hopefully resolving) why our XML frequently has UTF-8 encoding errors.
    I've been in the IS world for less than a year now so please bear with me when it comes to terms, data flow, etc.
    Overview:
    Our Oracle DB spits out XML for the nightly batch runs into a file location, lets say C:\xPression\CustomerData\Certificate.xml. The XML is in Courier New font but some characters make their way into the XML but arent supported. The big one is the elongated ' - ' character. Just one instance of this and the entire XML fails.
    When the batch job is run sometimes there are encoding errors (¿, ¡, -, etc) and every morning I have to come in, finding the invalid character, fix it and have the job re-run.
    I want to know if there's a way so that the XML that comes out is always in the Courier New font, or is there a way to convert it.

    I want to know if there's a way so that the XML that comes out is always in the Courier New font, or is there a way to convert it.
    First thing first, an XML file is a text file, it doesn't have a "font" but an encoding.
    The font is the graphical representation of characters and it is related to whatever client tool you're using to view the content, not to the content itself.
    That being said, a lot of fonts do not support the full range of unicode characters so you may get replacement characters in some case.
    We're missing some information to provide an answer :
    - what's the database version?
    - what's the character set of the database?
    - how are you generating and writing the XML to the file ? UTL_FILE, dbms_xslprocessor, dbms_xmldom?
    If the file is generated using UTF-8 encoding then the issue might just be that you're not using an UTF-8-enable editor.

  • Windows 7 64-bit Copying files to external usb drive - files becomes corrupted.

    Hi All,
    I am getting intermittent problem with regards to copying files to usb external hard drive from my laptop.
    When file is copied to external drive, the file becomes corrupt from the external drive.
    I have to repeat around 2 to 3 times or more to re-copy the file again until file is not corrupted.
    Appreciate of any help.
    Below is my system info:
    Using Win 7 Ultimate 64-bit 4 gb of ram. 
    OS Name Microsoft Windows 7 Ultimate
    Version 6.1.7601 Service Pack 1 Build 7601
    Other OS Description  Not Available
    OS Manufacturer Microsoft Corporation
    System Name GIBBY-LAPTOP
    System Manufacturer Sony Corporation
    System Model VGN-SR26GN_B
    System Type x64-based PC
    Processor Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz, 2267 Mhz, 2 Core(s), 2 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. R1130Y1, 8/28/2009
    SMBIOS Version 2.4
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume2
    Locale United States
    Hardware Abstraction Layer Version = "6.1.7601.17514"
    User Name Gibby-Laptop\Gibby
    Time Zone Malay Peninsula Standard Time
    Installed Physical Memory (RAM) 4.00 GB
    Total Physical Memory 3.97 GB
    Available Physical Memory 2.60 GB
    Total Virtual Memory 7.93 GB
    Available Virtual Memory 6.05 GB
    Page File Space 3.97 GB
    Page File C:\pagefile.sys

    Ok, lets be brief.
    This problem is annoying me for years. It is totally reproducible although random. It happens when copying to external drives (mainly USB) when they are configured for "safe removal". I have had issues copying to NTFS and FAT32 partitions. I have
    had issues using 4 different computers, from 7 years old to brand new ones, using AMD or intel chipsets and totally different USB controllers, and using many different USB sticks, hard disks, etc. The only common thing in those computers is Windows 7 x64 and
    the external drives optimization for "safe removal". Installing Teracopy reduces the chances of data corrpution, but does not eliminate them completely. The only real workaround (tested for 2 years) is activating the write cache in the device manager
    properties of the drive. In that way, windows uses the same transfer mechanisms as for the internal drives, and everything is OK.
    MICROSOFT guys, there is a BIG BUG in windows 7 x64 external drives data transfer mechanism. There is a bug in the cache handling mechanism of the safe removal function. Nobody hears, I've been years talking about this in forums. It is a very dangerous bug
    because it is silent, and many non professional people is experiencing random errors in their backup data. PLEASE, INVESTIGATE THIS. YOU NEED TO FIX SUCH IMPORTANT BUG. IT IS UNBELIEVABLE THAT IT IS STILL THERE SINCE 2009!!!
    Hope this helps.

  • Problems with encoding and files

    Hi friends pls some help my problems is the following
    I have a ftp server running on linux and in my program I download files from the ftp server using class specified below.When I download the file content not all content is coming ok. For example I have a string with
    Ra�l����1234%#=?[a_@ and when I read content using my methods this part is retirved ok Ra and this one is retrived wrong �����
    whith characteres very stranges.
    I suppose that the problem is with the encoding, then all day I tried some settings in the class new InputStreamReader.First the encoding UTF-8 because I have created the file using this encoding. Something like this:
    in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)),"UTF-8");
    but does not work
    After I realized that I use the statement localFtp.ascii();
    declaring that the content will be downloaded in ascii encoding so
    I made this change :
    in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)),"US-ASCII");
    but still does not work
    Please somebody can help me this is very urgent
    Here is my code
    Tkx
        code:
    {code}
    import sun.net.ftp.FtpClient;
    import java.util.ArrayList;
    import java.util.Vector;
    import java.io.*;
    import java.util.zip.*;
    * This is a basic wrapper around the sun.net.ftp.FtpClient
    * class, which is an undocumented class which is included
    * with Sun Java that allows you to make FTP connections
    * and file transfers.
    * <p>
    * Program version 1.0. Author Julian Robichaux, http://www.nsftools.com
    * @author Julian Robichaux ( http://www.nsftools.com )
    * @author Jpuerta (modified by)
    * @version 1.0
    public class SunFtpWrapper extends FtpClient {
         * Methods you might use from the base FtpClient class
         * // set the transfer type to ascii
         * public void ascii()
         * // set the transfer type to binary
         * public void binary()
         *// change to the specified directory
         * public void cd(String remoteDirectory)
         * // download the specified file from the FTP server
         * public TelnetInputStream get(String filename)
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.ArrayList;
    import java.util.Vector;
    import java.util.ResourceBundle;
    import java.util.regex.Pattern;
    import java.util.zip.GZIPInputStream;
    import org.apache.log4j.Logger;
    import org.apache.log4j.PropertyConfigurator;
    import com.banesco.lynx.common.SunFtpWrapper;
    import com.banesco.lynx.exceptions.FtpManagerException;
    import org.apache.log4j.Logger;
    import org.apache.log4j.PropertyConfigurator;
    public class FtpManager extends SunFtpWrapper{
         ProcessParametersHelper parametersManager=ProcessParametersHelper.newInstance();
         ResourceBundle rb = ResourceBundle.getBundle("com.banesco.lynx.exceptions.lynx_exceptions");
         private Logger logger =null;
         public FtpManager(int i) throws FtpManagerException {          
              logger = Logger.getLogger(FtpManager.class);
              PropertyConfigurator.configure(parametersManager.getLog4j_path());
              //0 connect to source server
              //1 connect to destiny server
              if(i==0)               
                   connectToSourceServer(this);
              else if (i==1)
                   connectToDestinyServer(this);     
         private void connectToSourceServer(FtpManager ftp)throws FtpManagerException{
              try{          
                   ftp.openServer(parametersManager.getSourceServerInfo().getIp());
                   ftp.login(parametersManager.getSourceServerInfo().getUserName(), parametersManager.getSourceServerInfo                ().getPassword());
              catch (IOException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                              ("error.ftpmanager.openconnection"));
         private void connectToDestinyServer(FtpManager ftp)throws FtpManagerException{
              try{          
                   ftp.openServer(parametersManager.getDestinyServerInfo().getIp());
                   ftp.login(parametersManager.getDestinyServerInfo().getUserName(), parametersManager.getDestinyServerInfo               ().getPassword());
              catch (IOException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                              ("error.ftpmanager.openconnection"));
         public ArrayList downloadFileIntoMemory (String path,String serverFile, boolean isZipped) throws FtpManagerException {
              int i = 0;
              InputStreamReader in = null;
              ArrayList response = new ArrayList();
              FtpManager localFtp=null;
              try{          
                   localFtp=new FtpManager(0);
                   localFtp.cd(path);
                   //TODO modifico encoding
                   // moving file content from ftp server into memory
                   if (isZipped)     
                   {  localFtp.binary();
                   in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)));
                   else
                        localFtp.ascii();               
                        in = new InputStreamReader(localFtp.get(serverFile));
                   // moving file content from memory into arraylist
                   BufferedReader reader = new BufferedReader(in);          
                   String l = null;
                   while ( (l = reader.readLine()) != null)
                        response.add(l);
              catch(IOException e){
                   //TODO quitar esto
                   e.printStackTrace();
                   //log error               
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                    ("error.ftpmanager.downloadfile"));
              catch (FtpManagerException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                ("error.ftpmanager.downloadfile"));
              finally{
                   try{
                        localFtp.disconnect();
                   }catch(FtpManagerException e){
                        //log error
                        logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                        throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString      ("error.ftpmanager.closeconection"));
              return response;

    Err.. GZIP files are not text files so why are you trying to read them using Readers?

  • How to resolve the error "File could not open" in AL11?

    Hi Friends,
    When I am going to write a file via DATASET.
    But it's showing me a error"File Could not Found"?
    And I am unable to check my fiel at AL11.
    Please suggest me the solutions.
    Regards
    Ricky

    Hi,
    Try this code
    TYPES : BEGIN OF ty_emp,
    empno(2) TYPE c,
    empid(10) TYPE c,
    empname(3) TYPE c,
    END OF ty_emp.
    DATA : it_emp TYPE TABLE OF ty_emp,
    wa_emp TYPE ty_emp.
    DATA : pbk TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_file TYPE rlgrap-filename default 'D:\EMP.TXT'.
    PARAMETERS : p_asfile TYPE rlgrap-filename default 'EMP'.
    SELECTION-SCREEN END OF BLOCK b1.
    pbk = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = pbk
      FILETYPE                      = 'ASC'
    has_field_separator           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          data_tab                      = it_emp
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    OPEN DATASET p_asfile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      LOOP AT it_emp INTO wa_emp.
        TRANSFER wa_emp TO p_asfile.
      ENDLOOP.
      CLOSE DATASET p_asfile.
    ==============================================
    Regards,
    Krrishna

Maybe you are looking for

  • Creation of new value fileds

    Initially operating concern is in active mode. I have created new value fileds and assigned to operating concern.  After assignment operating concern is in red. How to activate operating concern.

  • Sum function in Where clause

    I am trying to return all rows with a 0 value for sum(a.posted_total_amt) I've tried the following: This returns no rows. However, I know there is data which should be returned. SELECT A.BUSINESS_UNIT, A.ACCOUNT, sum(A.POSTED_TOTAL_AMT) FROM PS_LEDGE

  • Problem with lyrics

    Hello I've got a problem With my 3rd Gen. Ipod touch: when I add lyrics to my songs at ITunes by the usual way (Get info->lyrics) and I sync my Ipod Touch, the lyrics doesn't appear on the screen when I hear a song. What's interesting, that I put heb

  • Is it possible to move app's right to left to another screen?

    I accidentally moved an app to another screen; left to right; but when I tried to move it back I couldn't reverse the process. Is it possible to move an app from screen to screen right to left?

  • Flash donwload issue

    cannot donwload flash as it freezes as soon as i click download on windows xp  modzilla. anyone have a hammer ?