Image transfer data being altered.

Hey,
I am trying to send an image over a socket connection. I can send the data and it writes to the file. The problem is that some of the bytes have been changed. It seems that the byte that are changed are all changed to 63. Does anyone have ideas why the bytes are being altered.
Cheers

maybe you are using BufferedReader.readLine(), or FileReader / FileWriter ? You should use the regular FileInputStream / FileOutputStream to read and write the image, and do NOT use the readLine() method to read from the socket and everything should work correctly, unless I'm missing another way to screw up binary data.

Similar Messages

  • Hi, I have a new laptop and would like to syncronise my iphone with iTunes (which I have installed again). But my old laptop has died so I could not transfer any media files, etc. Can I simply connect my iPhone to the laptop without any data being lost?

    Hi, I have a new laptop and would like to syncronise my iphone with iTunes (which I have installed again). But my old laptop has died so I could not transfer any media files, etc. Can I simply connect my iPhone to the laptop without any data being lost?
    Many thanks in advance!

    you have a new phone and a new comp and you want to restore to your old data ?!
    I can't think of anything but icloud, and what was purchased via itunes

  • Using Time Capsule to transfer data to a new machine

    I have just taken possession of a new iMac. I need to transfer the data from my old one and wondered if Time Capsule was the most efficient way of doing this.
    I understand that there is a transfer utility built into the Mac OS which allows you to transfer data from one machine to another via Firewire, but it occurred to me that my Time Machine might provide a quicker and easier way of doing it.
    Any thoughts on this would be greatly appreciated.
    Many thanks in advance.

    Sir Leicester wrote:
    I have just taken possession of a new iMac. I need to transfer the data from my old one and wondered if Time Capsule was the most efficient way of doing this.
    I understand that there is a transfer utility built into the Mac OS which allows you to transfer data from one machine to another via Firewire, but it occurred to me that my Time Machine might provide a quicker and easier way of doing it.
    I would go with FireWire. Boot the old Mac into "target disk mode" by holding down the "T" key while it is booting. Then connect the two Macs with a FireWire cable and launch the Migration Assistant utility.
    If your Time Machine backup is on your network (rather than being directly connected), transferring the data from the other computer over FireWire is probably going to be a lot faster.

  • Transfer Data from Palm OS to BlackBerry 10 Smartphones - US

    (I am Posting this a 2nd time because I'm not sure it went through the first time; got some kind of authenication error message.) 
    - 1. What is the best way to transfer my PIM Organizer Data from my Palm TX to a BlackBerry Z10?
    - 2. How do I obtain the standalone BlackBerry Desktop Software, latest Build of v.6.1? or even a version later than 6.1? or should I obtain v.5.0.1? or v.4.7?
    I am currently a U.S. Cellular customer and when they make the BlackBerry Z10 available, I plan to switch from my Motorola feature phone to the Z10. I currently also use a Palm TX PDA (Palm OS Garnet v.5.4.9) and use Palm Desktop Software v.4.2 ( = the CD installation version of
    v.4.1.4e?) on a Windows XPmachine. I could upgrade the Palm Desktop to v.6.2.2, but I haven't because v.4.2 on Windows XP is working well for me.
    The support page for Z10, Transfer from iPhone & Android to BlackBerry 10 Smartphones - US ( http://us.blackberry.com/support/transferring-to-bb10-device/personal.html ) implies that it does not support direct transfer from Palm OS to BB v10; only transfers from Androids and iPhones, as well as from other BBs, are supported. I have searched your Knowledge Base and found several articles that tell me how to migrate my PIM data from Palm OS to earlier versions of BlackBerry. I then presume that once I have my data imported into the earlier version of BB Desktop I can then later import it into the BB10 Desktop software; am I correct?
    Here are the Knowledge Base articles I found:
    1. Article ID:
    KB03050 ( http://www.blackberry.com/btsc/KB03050 ) - How to transfer contact information from a Palm OS device to a BlackBerry smartphone
    2. Article ID:
    KB04346 ( http://www.blackberry.com/btsc/KB04346 ) - Field mapping list for the PIM Data Migration Wizard
    3. Article ID:
    KB04437 - ( http://www.blackberry.com/btsc/KB04437 ) How to use the organizer data migration wizard
    4. Article ID:
    KB05421 - ( http://www.blackberry.com/btsc/KB05421) What is the Switch Device Wizard?
    The four articles all give slightly different advice, but
    Articles # 2 & 4
    imply that I can export the PIM data from Palm to BlackBerry Desktop Manager
    v.5.0.1
    and seem to have the most simple and clear instructions. However,
    Article #3
    implies that I should use BB Desktop Manager no higher than
    v.4.7
    , and
    Article #1
    implies that I can use BB Desktop Software as recent as
    v.6.1
    and use "Method #2", which seems very long and complicated by transferring data to
    Microsoft Outlook
    as an intermediary step!
    So I am confused as to which method to use.
    Articles #2 & 4 & BB Desktop software v.5.0.1 seem the simplest, but if I need to use the latest possible version, 6.1 with Outlook as an intermediary to get superior results, then I am willing to follow this more complicated method as described in article #1. I want to use the method that will give me the best results with the lowest error rate, even it may be the most complicated way.
    ... Help!
    P.S.
    I also use
    Agendus for Windows Palm Desktop Edition v.5.42( http://www.iambic.com/agendus/winpded/):
    "Agendus for Windows is an application that enhances how you view your calendar, contacts, tasks and memos. It also provides intuitive tools, such as text capturing, a free time finder, voice recording, advanced search capabilities and Internet features (weather, driving directions, address lookup). All of these things help in make scheduling extremely easy and hassle free."
    It can form hypertext links between the separate databases of the Palm Desktop (calendar, contacts, tasks and memos) so you can flip back & forth between the databses without having to close one before you open the other.
    There's also an
    Agendus for BlackBerry version (
    http://www.iambic.com/agendus/blackberry/
    ), but was developed pre-BB 10, and I think the code is sufficiently different between the BB and Palm versions, that I don't think it is easy to transfer data between them since the BlackBerry version synchronizes with Agendus for Windows Outlook Edition ( http://www.iambic.com/agendus/winoued/).
    When I transfer my PIM data from my Palm to a BB-Z10, will I be able to keep those active hypertext links in Agendus in the transfer and still have them work?
    P.P.S.
    I also have
    Palm Desktop by Access v.6.2.2 ( http://kb.hpwebos.com/wps/portal/kb/na/tungsten/tx/unlocked/solutions/article/32859_en.html )installed on a Windows 7 machine, but I find that v.4.2 w/ the Windows XP machine tends to work better. However, I am willing to use whatever combination of Palm Desktop version together with Windows OS version that will get me the best and most accurate results. Palm Desktop v.6.2.2 also has an extension called Palm Conduit Switcher Application (OutlookSwitcher.exe v.1.3.0, which is accessible through Start > Palm > PIM conduit sync > Sync with Outlook) which supposedly will change my Palm handheld to sync w/ Outlook instead of with Palm Desktop; would that accomplish the same thing as Article #1 (ID: KB03050 > Method 2 > Tasks 1,2 & 3) and maybe be easier or do it better? But it would seem that the KB03050 method would leave my Palm Desktop intact, whereas the OutlookSwitcher application could delete my Palm Desktop in a process that would convert my data permanently to Outlook; am I correct? An earlier version of OutlookSwitcher.exe also is included in Palm Desktop v.4.2.
    There are so many questions and options for me, I don't know which way to go! If you and your colleagues don't know the best way either, then I will most likely follow the advice in KB03050 in conjunction w/ upgrading my Palm Desktop to 6.2.2 on my Windows XP machine, since I would have the most control over datafield mapping, and the extra work spent doing that may pay off with a smaller error rate after the transfer, which gets me back to my second question at the top of this article: How can I obtain a copy of the latest Build of BlackBerry Desktop Software v.6.1 as a stand-alone application into which I can transfer all my PIM Data first, *before* I install & syncronize the new BB10 phone? Or should I use a version later than 6.1?
    Sorry for this being so long and convoluted, but after going through all the permutations and combinations, it should be obvious to you that I now need the support of someone more expert and experienced in this before I do anything else. Thanks!

    Hey telemarkdoc,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Currently you can not transfer data from a Palm smartphone to a BlackBerry 10 smartphone through BlackBerry Link.  Also previous versions of BlackBerry Desktop Software will not work with BlackBerry 10 smartphones.
    The only way this could work is that you transfer the information from the Palm software to Microsoft Outlook and then BlackBerry Link can synchronize the contacts and calendar information to the BlackBerry Z10.
    I hope this helps.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Transfer data from mac to external hard drive

    I am new to macs and am a bit lost.
    I have a made up external hard drive (internal hard drive in a case) - TOSHIBA MK8025GAS Media. It is connected to the mac via USB.
    I have been using it to transfer data from my pc to mac. The mac sees it and i can copy things from the hard drive to mac without problems. What i cannot do is to transfer from the mac onto the hard drive.
    I pulled up the mac info of the hard drive and its both writable and ejectable (Has two partitions). In the partitions the info states that the owners aren't enabled, cannot turn owners off and cannot be formatted. Also the S.M.A.R.T. status is not supported. Not usre what all this means!
    Can anyone tell me how to set it up to be able to transfer files to the hard drive from the mac and if it is possible to still transfer from windows to the hard drive?
    Thank you in advance.

    Thank you for the info.
    A friend also told me that i could erase the hard drive using the disk utility in ms dos format. I have tried this and then could also partition it afterwards.
    At the moment this seems to be working in both Mac and PC.
    One thing i have noticed is when i try to transfer disk images (over 4Gb), near the end i get an 'unexpected error occured' (error code 1309).
    From the internet:
    error -1309 fileBoundsErr: file's EOF offset mark or size is too big
    Whatever this means?

  • Different ways to Transfer data from one database to another database

    Hi all,
    What are the ways to transfer data from one database to another database. With the following options, i Can transfer data as far as i know. Please
    correct me if i am wrong or tell me if there is any other options are available.
    1) Create database link/connection string and using this string and COPY command, we can transfer data.
    2) By using Export and Import utilities.
    I told first one to my interviewer, he told, its strange, by using, COPY command also can we transfer data ? As far as i know, we can transfer data. Am i right ?
    Thanks in advance,
    Pal

    transfer data from one database to another database.You mean store the data of one to another?
    1) Create database link/connection string and using this string and COPY command, we can transfer data.every SELECT on a DB-link is transfering data. And you can have all kind of transfers and store on the e.g CTAS of materialized views or.... the SQL*PLUS COPY :
    The COPY command is not being enhanced to handle datatypes or features introduced with, or after Oracle8i. The COPY command is likely to be made obsolete in a future release.
    But there are many others. Check for ORACLE Streams, and the "COPY" your interviewer was mentioning is about the operating file system COPY right? That's transportable tablespaces.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/tspaces013.htm#ADMIN11403
    -- andy

  • Clearing image safe data

    Hi!
    Not so about imaging, but ... during ZCM agent deployment is written also image safe data onto disk. Now, when I need to put this disk (once being used on ZCM-belonged device and having image safe data on it) into another device then what is the better way to clear old device image safe data from disk. Apparently formatting disk is not enough, of course. And I need to accomplish this before installing operating system, because - as I have experience with ZCM 10.3 on this - as soon ZCM server "knows" about this disk/device it could mess up in database using info from this image safe area, am I correct? So, I put this disk into computer (not connected to network), boot from CD/DVD ...? Is Imaging BootCD good enough?
    Yes, there is a lot of Google-info, but ... just to be sure and clear on this one.
    More thanks, Alar.

    Originally Posted by NovAlf
    Hi!
    Not so about imaging, but ... during ZCM agent deployment is written also image safe data onto disk. Now, when I need to put this disk (once being used on ZCM-belonged device and having image safe data on it) into another device then what is the better way to clear old device image safe data from disk. Apparently formatting disk is not enough, of course. And I need to accomplish this before installing operating system, because - as I have experience with ZCM 10.3 on this - as soon ZCM server "knows" about this disk/device it could mess up in database using info from this image safe area, am I correct? So, I put this disk into computer (not connected to network), boot from CD/DVD ...? Is Imaging BootCD good enough?
    Yes, there is a lot of Google-info, but ... just to be sure and clear on this one.
    More thanks, Alar.
    If you're physically moving the disk from one pc to another, I would clear the ISD either in the old machine OR before you bootup and install the OS on the new machine
    You can bootup via PXE/USB/BootCD and then just enter maintenance mode and type:
    zisedit -r
    zisedit -c

  • How to delimited text file data being downloaded in Application server

    Hi All,
    How to delimited or having a tab between each fields in the data being downloaded to  Application server. Please provide an example of code or how i should make changes to my below coding. Thanks.
    eg. the out file in application server.
    Field1#Field2#Field3
    what I currently get was as below:-
    Field1Field2Field3
    My coding:
    FORM download_outfile.
      DATA : xfer(400).
      IF rb_locl EQ 'X'.
        DESCRIBE TABLE itab LINES sy-tfill.
        IF sy-tfill GT 0.
          CALL FUNCTION 'WS_DOWNLOAD'
               EXPORTING
                    filename            = p_file
                    filetype            = 'DAT'
               TABLES
                    data_tab            = itab
               EXCEPTIONS
                    file_open_error     = 1
                    file_write_error    = 2
                    invalid_filesize    = 3
                    invalid_table_width = 4
                    invalid_type        = 5
                    no_batch            = 6
                    unknown_error       = 7
                    OTHERS              = 8.
          IF sy-subrc EQ 0.
            WRITE : / 'download done’.
          ELSE.
            WRITE : / '4)Error occured'.
          ENDIF.
        ENDIF.
      ELSE.
        OPEN DATASET p_file FOR OUTPUT IN TEXT MODE.
        DATA : l_subrc LIKE sy-subrc.
        LOOP AT itab.
          MOVE itab TO xfer.
          TRANSFER xfer TO p_file.
          IF sy-subrc NE 0.
            l_subrc = sy-subrc.
          ENDIF.
        ENDLOOP.
        IF l_subrc EQ 0.
          WRITE :/ 'download done’.
        ELSE.
          WRITE :/ 'error occurred’.
        ENDIF.
        CLOSE DATASET p_file.
      ENDIF.
    ENDFORM

    Hi,
    Please check this sample codes.
    OPEN DATASET P_DOWN FOR OUTPUT IN TEXT MODE. " P_DOWN is the file to download
      IF SY-SUBRC = 0.
        CLEAR V_STRING.
    *-- Download to the file
        LOOP AT IT_DOWN.
          CONCATENATE IT_DOWN-DISTTYPE
                      IT_DOWN-O_CITY
                      IT_DOWN-O_REGIO
                      IT_DOWN-O_PSTLZ
                      IT_DOWN-O_CTRY
                      IT_DOWN-D_CITY
                      IT_DOWN-D_REGIO
                      IT_DOWN-D_PSTLZ
                      IT_DOWN-D_CTRY
                      IT_DOWN-DISTANCE
                 INTO V_STRING
                 SEPARATED BY '09'.    " here 09 is the tab delimeter
          TRANSFER V_STRING TO P_DOWN.
          CLEAR V_STRING.
        ENDLOOP. 
    Regards,
    Ferry Lianto

  • How long does it take to transfer data from a PC to a Mac?

    Using Migration Assistant and I am transferring data from PC to IMac. Have no idea how ling this process should take. How long does it take to transfer data from a PC to a Mac?

    This may not be the best forum to get an answer.
    Depending on what is being/can be migrated it may be dependent on how much data is on the PC already.
    AC

  • Want to transfer data to another cpu

    got a new computer, want to transfer data from this computer to the new one
    i proceeded to sync up - created an account (on this computer not the new one) the new computer is asking for the code number from this computer but i am not able to find that - it wants the code number from the new computer - why can't i go back to the beginning - why do i have to write this in a question instead of getting to a person? at 2 in the morning - where am i going to get an answer?

    Hello - sorry to hear that Firefox Sync is being awkward. It sound like you're at the stage of entering the 12-character 'setup code'. If you have an already set-up Sync account on your '''old''' PC, what's suppose to happen is that you:
    * Do 'Set up sync' on your '''new''' PC
    * The new PC gives you a 12-character code to enter on your '''old''' PC
    * On the old PC, you open the Options window (usually from the Firefox menu), go to the Sync section and click the '''Pair a Device''' link.
    * You should see the window to enter the code from your new PC.
    You can find more detail, with screen-shots, at [[http://support.mozilla.org/en-US/kb/add-a-device-to-firefox-sync|http://support.mozilla.org/en-US/kb/add-a-device-to-firefox-sync]].
    Hope that helps!

  • Transfer data from one database to another

    Hello,
    We have an application which uses an Oracle 9i server database. On this server we have two databases ( one for test and one for production ).
    From time to time it's required to transfer data from production database to test database.
    The steps followed by the ones which made the transfer are:
    a) drop the user schema ( the one which contains all data)
    b) recreate the user
    c) import the data ( using import utility )
    d) compile invalid object ( what this will mean I don't know)
    It's not possible to delete only the content of the tables and then import data from a dump file? In this way the steps c) and d) will no longer be required. If this is possible can you tell me if is there a command which will delete all data from all table ( almost 2000 tables)?
    Thank you fro your help!

    I think ..following a,b,c,d is the best way to maintain consistency. you are just thinking about the data in the tables, but what about the changes in views,procedures,functions etc....
    compile invalid object ( what this will mean I don't know)create a file xxx.sql with following code and execute it from sql*plus
    set echo off
    set head off
    set feedback off
    set timing off
    spool compile_invalid_obj.sql
    select 'ALTER '||DECODE(OBJECT_TYPE,'PACKAGE BODY','PACKAGE',OBJECT_TYPE)||' '||OBJECT_NAME||' '||DECODE(OBJECT_TYPE,'PACKAGE','COMPILE PACKAGE;','PACKAGE BODY','COMPILE PACKAGE;','COMPILE;')
    from user_objects
    where status = 'INVALID';
    spool off
    set feedback on
    set echo on
    set timing on
    @compile_invalid_obj.sql
    HTH
    --Chaitanya                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Ways to transfer data from one Macbook Pro to another

    What are the ways I can transfer data from my old Macbook Pro to my new 2013 Macbook Pro? If I use firewire, which one should I use and where can I find an image of the correct one to buy?

    Have a look at the link below - see if that helps you out.
    http://macintoshhowto.com/networking/how-to-transfer-your-data-from-an-old-mac-t o-a-newer-thunderbolt-macbook.html

  • HT1752 How do I transfer data from Power Macintosh 7200/90 to a state of the art Mac today?

    I have this old PowerMac, and want to transfer data to an updated iMac with OS X 10.8.5. How should that be done?

    The short answer is to turn on file sharing on the PowerMac, and then connect to it by going to Go>Connect to Server on the new Mac. You can do this either by connecting the PowerMac to your network hub or with a direct Cat 5 connection between the Macs. The latter is likely to be a bit more complicated. You can also enable FTP on the new Mac and transfer data to it from the old one.
    The long answer is going to depend on what version of Mac OS the PowerMac is running, and whether I can remember where in the menus the various settings are.
    There are some other, probably faster options, but they require hardware you're not likely to have. If you have a USB-SCSI adapter, you can boot the PowerMac into SCSI Disk Mode and make a disk image of the whole drive (which is 1.3GB uncompressed, at most). You can use a SCSI and a USB Zip drive if you have one of each, but what are the odds of that?
    All of the above is assuming you can boot and operate the PowerMac, and that you have a monitor, keyboard and mouse for it. If any part of that is not the case, then you're going to need some additional hardware.

  • How Secure is the data being backed up wirelessly?

    What is the likelihood of someone being able to access data being wirelessly backed up to a TC?
    Thanks.

    It's pretty dependant on the kind of wireless encryption (if any) that you're using, the most secure being WPA2, with WPA/WPA2 a tiny bit less secure, and WEP about as secure as throwing copies of your house keys attached to photos of the expensive items in your house with your address on the back onto a crowded sidewalk. Okay, so it's not quite that insecure, but it's still pretty crappy.
    Assuming you're using WPA2 or WPA/WPA2, your data should be getting pretty securely transmitted, though once it's on the Time Capsule it isn't encrypted, and if someone can physically access it, they can connect to it via Ethernet. If there's stuff you want to keep really secure, you should probably investigate encrypting it, possibly using encrypted disk images, but if your main worry is about it being intercepted in the air, providing you've got good wireless security and a decent password powering it, you should be fine.

  • How to transfer data b/w remote Informix NTS 2000 db server to local MySql

    Hi friends,
    Please help me to find a way to transfer data from a remote infomix database to local MySql database.Using dbacess tool i can make a flat file and later transfer it to my local pc and load data to database.But i need to make a programe which will run 24*7 and after every 1/2 hr load data to local pc.
    How can i directly transfer or how to unload data to to flat file on that remote machine which i can get using FTP.When i send 'unload to abc.txt select * from .....' it always says syntax error.I seached on net and found that this statement is used by dbaccess to execute on database and is not a pure sql query.
    Also i am not able to get resultset on that specific table because it is always in transaction and i get error 'system can not get information from this table' .It seems that table is locked due to transactions being taking place.
    Can i access dbaccess using a java program,telnet or any way that i can get my work done.
    Pleeeeeeaaaaaaaase help me out..........
    Thanks in advance...........
    Rajneesh.

    Try to ask http://forums.mysql.com/list.php?104

Maybe you are looking for

  • How to work with xml in java ?

    Hello everybody. I am trying to read, write and modify xml file in java. But i don't know what is the best method for work with xml file ? Please give me some examples for read, write and modify it. Thanks in advance.

  • PDF View Issue

    Hi All, I have an rtf template wherein I have lots of tables and i have put my placeholders/ form fields in the columns and rows as per the requirement but the issue is...when i view my output in the pdf format ..my view get distorted. I mean the tab

  • Setting up the Calendar

    The problem i am facing is with the"Create a Cash Forecast template" function of the "Cash Management" Module in the Oracle 11i E-business suite. In the "Forecast Entries" screen, i am unable to enter the Forecast Date. By default, the date is set to

  • "send to Color" not present

    I just installed Final Cut 6. The "send to Color" is not an option from the send to section from the clip. Does anyone know why it is not present or how to fix the problem? Thank you!!

  • I pad frozen with i tunes logo

    i was trying to up grade the iso on my i.pad and it froze with the i.tunes logo when i un pluged from my lap top the i tunes logo stays on the i.pad ive tryed a hard reset sevrel times but still not coming on..?