Binary File compare - Problem with char 65533

Hi,
I tried to copy an sqlite database (a normal text file) out of my *.jar file. The database is in my java project as a resource file. I read every byte and store it directly into the new file, but somewhow it changes 4 Bytes to 65533! The correct values are 2 times 129 and 2 times 144. It's really strange!
Have you an idea why this happens? Or is there a better way how to copy out a resource file?
Thank you for your answers.
        URL u = this.getClass().getResource("/database/resources/mydb.sqlite");
        try {
            InputStreamReader in = new InputStreamReader(u.openStream());
            File outputFile = new File("newdb.sqlite");
            FileWriter out = new FileWriter(outputFile);
            BufferedWriter writer = new BufferedWriter(out);
            while ((c = in.read()) != -1) {
                writer.write(c);
            in.close();
            writer.close();
        } catch(Exception e) {
            jErrorFld.setText(e.toString());
        }

Writers are for characters not bytes. Use OutputStreams.

Similar Messages

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • File sharing problems with my Media Player, an A C Ryan

    I have a media player, an A C Ryan, hooked up to my wifi at home and it normally accesses all my hard disks that is plugged and shared on my iMac. I had no problems when the iMac was on Snow Leopard. Under Network/Workgroup in the AC Ryan's menu, I can see and access all the files on the hard disks.
    The moment I upgraded to Lion, all such access was lost. The AC Ryan cannot connect to the hard disks any more via the wifi network. it's as though file sharing has stopped completely. I checked the file sharing settings on the iMac and nothing has changed i.e. the disks were shared as usual. After struggling with many possible solutions and failing (I checked out a lot of forums), I reintalled Snow Leopard and the problems were immediately solved.
    Is there something seriously wrong with Lion's file-sharing? Has this been fixed in 10.7.2? My friend who has a similar setup (his media player is the WD Live) has exactly the same file sharing problem with Lion.
    I would appreciate any feedback. Thanks!

    I believe that NTFS-3G has issues with Lion.
    I use Paragon NTFS and have had no issues at all. I am pretty sure that NTFS-3G will get updated, but you need to check their site to find out when.

  • File association problem with excel

    hi everybody,
    i have the following annoying little problem, couldn't find any answers so far in the forum:
    i have some downloaded files (just plain text files) that i call ".in", and finder lists those as "microsoft excel binary document". now i want to associate those files to open with textwrangler as standard app. if i get information for those files and set "open with" to textwrangler, as soon as i click "change all" it reverts the application in the "open with" box to "microsoft excel", meaning i can never change the filetype permanently.
    anybody know what i might be doing wrong, or what i can do to make the change stick?
    thanks

    Hi Gopal,
    There is a a column width optimize function of SLIS ALV layout.
    colwidth_optimize(1) type c
    but, i am not sure if it works.
    Also, when the report is generated, there is an option in the menu.
    Go to "Setting --> Columns --> Optimize Width"
    With this, it optimizes the column width based on data width but when you download, it reverts to the dictionary field length.
    Regards,
    Vivek

  • .MSG files. Problem with getting requested values from crawled properites

    Hi
    I have a lot of msg files on my file server. I use SharePoint Enterprise Serach engine to crawl all these MSGs.
    I would like to get extra managed properties out of these files. I am most interested in getting Mail:5(text) / Mail:12(Date and Time) / Mail:53(Date and Time) from MAIL category in Managed Properties.
    This thread is very similar to one already posted by SpinnerUp:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/82d69df0-5cb2-4e51-a485-34209e111f4b/problem-with-crawling-msg-files-doesnt-seem-to-return-requested-values-from-crawled-property
    Please be aware that I do not use Public Folders. These MSGs are exproted from Outlook and are stored on File Server not Exchange.
    I tried to link Crawled Properties to new property however I cannot get any results back.
    Thank you for you help.
    Regards, Marcin (Please mark as helpful or answered if it helps)

    Thank you for your replay.
    However I am not keen to write custom connector at this stage.
    Is it possible to simply get "Subject", "Sent", "Received" info from msg file and then map it to managed properties.
    Does SharePoint create any crawled properties which contain information about let's say "Subject" which then can be used to create managed properties?
    I tried playing with "MAIL" properties however I cannot get them to work. I guess this is because the file is a msg file rather than mail which is stored in Exchange Public Folder.
    Regards, Marcin (Please mark as helpful or answered if it helps)

  • Sender file Adapter, problem with proxy authentication

    HI all,
    i'm having some problems with the following scenario, i need to configure a sender file adapter which connects to a FTP server. To connect this FTP server i need to set a proxy (and so a username and a password), and i don't know how to do.
    From note 821267 seems that the proxy is not supported for an FTP adapter, but the are some workaround like the ones described in the following link
    Re: Proxy server inFTP adapter
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=57137
    They don't work in my case as i need to se two username (the one for proxy and the one for the ftp server) and i cannot force the proxy use for all XI applications.
    Can anyone help me?
    Thanks a lot
    Aldo

    Proxy is necessary to exit the customer local intranet. It's not possible to go outside network without going through the proxy server.
    I cannot set the proxy server in file adapter as it's not supported like described in SAp note,  a possible workarounf is to force the proxy server in the J2ee stack but in this way all PI calls would use that proxy..

  • File sharing problems with T500 and T410 and a desktop all running XP Pro SP3

    Others have had similar problems with what appears to be an overriding of Windows file sharing by Access Connections.
    My three computers, printers and internet modem are networked and working fine both wired and wirelessly except that while the desktop computer in network places can "see" shared folders on the Thinkpads, access to them is denied. Access to desktop shared folders from the Thinkpads works fine.
    All the usual sharing settings have been checked and verified by Microsoft support; it does not so far have a solution.
    Could this issue please be addressed more thoroughly and/or suitable documentation referenced? I have read the blurb about Access Connections but can't make a lot of sense of it.
    Thanks

    When you use the Desktop top menu bar Go/Connect to Server and enter
    smb://nameofPC
    what happens ?

  • File association problems with Win2K server

    Hi,
    I have a client - 5 Macs in a Win2K network. They're designers and store/work on all their jobs on a Win2K volume. About 2 months ago, problems started happening - files lost their application association (mostly all were turned into Unix exec files), causing sever problems with the workflow. Quark can't open a placed image in it's native app for instance, because the association has been lost. The user has to visit each file and re-associate. As you can imagine, this is not an ideal situation to say the least.
    Furthermore, when re-associating the files, the option to "Always open with" is greyed out, so a one-time fix isn't possible.
    I suspected that it was something to do with the windoze volume. I more or les proved it by copying one of the files to a local machine and then re-associating: all works as it should when the files are local. Copying the files locally is not an option though.
    This really is at the limit of my windoze knowledge. Their sysadmin is also not sure what's happening, aside from the fact that there's no windoze app that's accessing the files and writing them back to the disk. The only thing that looks at the files is the daily backup and that's a read and not write operation. We're stumped, but it really needs sorting. I've suggested they move some of the files to another server and see if the same occurs, which may or may not prove the issue is with the server they're using now. Any guidance gratefully received.
    All Macs at 10.4.5 and recent updates, all have QXP 6.5, CS2.

    Probably nothing has changed with your server or your network. Typically, folks realize, "Hey! I can connect via SMB and that's my workaround for the 31 character file name limit!" Or possibly, your Mac folks are browsing the network for your server and selecting it through your Windows domain rather than a Mac zone. Tiger changed the appearance of Windows "WORKGROUPS" so that they now appear as upper/lower case instead of all caps. This use to be a good way to distinguish them from zones.
    To guarantee your users are connecting via AFP, which is what I would recommend for a Mac workgroup, have them specifically use "afp://servername" in the "Connect to Servers" dialog. I don't recommend Apple's SMB because Mac OS X splits each file into separate resource and data fork files before placing them on the server. When Windows folks see this, it's a mess. And I don't recommend continuing to use Microsoft's SFM because its version of the AFP protocol hasn't been updated in years. Either way, look to a third party software solution.
    Don't let the 65+ GB scare you. It's really not that bad if you're on a 100MB network but the server should recognize that all traffic is local and actually handle all the file moves itself without shuffling files across the network. A bit of a pain, but shouldn't take too long.
    Good luck! bill
    1 GHz Powerbook G4   Mac OS X (10.4.5)  

  • Binary file compare

    I'm sorry. I didn't want to have to post here, but I've been banging my head on this all week. Hopefully somebody here can shed some light on this for me.
    I'm trying to write an application that compares a series of binary files in a user-defined order. The user needs to be able to specify the type of change that has occured ( > < = !, and numerical searches) for a given byte. (I am also supporting WORD/DWORD, but it's the same principal) To clarify, imagine:
    Byte at given offset: (((fileA < fileB) = fileC) != fileD) ...
    Now, my original code worked, but it was extremely poor. It had two methods fullCompare() and partialCompare(), it read data directly from the DataInputStream, and used skipBytes() to pass over bytes that had been excluded from a previous search. I kept thinking "There has to be a better way to do this." So I made it as simple as possible! I created an inner class called BinaryFile. BinaryFile reads the data (using getUnsignedByte() getByte() getUnsignedShort() getShort() etc... depending on the user's option.
    I created two instances of this class... One I call 'result' and the other 'bin' the files are read in by the constructor and stored in an ArrayList<Integer> (later I cast my Shorts to int)
    Now, 'result' holds the first file opened, and bin holds each additional file, ex:
    BinaryFile result = new BinaryFile("C:\\test1.bin", BinaryFile.UNSIGNED_WORD);
    All of this works�. OK, so now I run my first compare:
    compare(new BinaryFile("C:\\test2.bin", BinaryFile.UNSIGNED_BYTE), GREATER_THAN);
    again, everything works like a champ.. now to actually compare the files, I do this:
    public void compare(BinaryFile bin, int compareType) {
    for (int count=0; count < results.values.size(); count++) {
    if (results.values.get(count) != null) {
    switch (compareType) {
    case GREATER_THAN:
    if (bin.values.get(count) > results.values.get(count))
    results.values.set(count, bin.values.get(count));
    else
    results.values.set(count, null);
    break;
                        ����������..
    Now, it works for the FIRST two files that I compare, but after that it's like it started setting null when it wasn't supposed to�. I know that nobody probably read this far, but somebody please help me, this is killing me.

    I posted that at some unruly hour of the morning, while tired and frustrated... I had a flight from Korea to Japan today and spent the entire trip reading J2SE 5 docs about collections and generics, etc... So I'm going to give this one more go-round before I ask for help. I hate being beaten by a machine, asking for help makes me feel like I lost!
    Thanks

  • Raw file rendering problems with Canon EOS 5D in Aperture 3

    Since upgrading to Aperture 3, I have had serious problems with the rendering of Canon EOS 5D (not Mark II/III) RAW files. With Aperture 2, both the preview and full-sized images looked basically the same as the original images as displayed on the camera's display, without any adjustments.
    With Aperture 3, each preview images initially look fine after import, but when Aperture re-renders it from the RAW file (e.g. when displaying the full-size image), the colors are drastically intensified, and the hue is shifted generally towards green/blue. I've checked the RAW Fine Tuning, and it is set to the defaults. If I turn the default RAW Fine Tuning settings all the way down, the image is still not at all like the preview from the camera - it becomes much darker and stays too blue/green, with washed-out colors.
    A friend with a Canon EOS 5D MkII also recently upgraded her Mac from Aperture 2 to 3, and hasn't experienced any problems. We've tried importing RAW files from my (non-MkII) camera to her Mac (with the default RAW Fine Tuning settings), and get the same results as with my own Mac (i.e. strange colors), so the problem seems to be related to the camera model.
    I've also noticed that scanned greyscale tiff images (including images that were originally imported under Aperture 2) are changed when first displayed by Aperture 3 - they become darker and more contrasty, with lots of information lost in the shadow areas.
    I've also tried removing Aperture preferences, Aperture itself, and re-installing from download, with no change in the problem. (Aperture is the current latest version, 3.3.2.)
    Has anyone experienced similar problems?

    I'm having the same problem.
    iMac running Mac OS X Lion 10.7.4 and Aperture 3.3.2.  Workflow is importing through Canon's DPP and then using referenced images in Aperture.  The images look great in LR4, or Canon's DPP but are flat and dingy in Aperture.
    There's a free preset that goes part way to fixing it at http://theapertureblog.com/2011/02/10/my-aperture-workflow-for-working-with-cano n-5d-mark-ii-files/
    but as good as this fix is, it doesn't quite do the trick. [not being a hater, and not saying I can do better]
    I just got back from shoooting 1,500 images with a 5DMii and a T2i using Canon 24-105L IS, 70-200 2.8L, 50 1.8 and a Sigma 120-400 and the T2i images are not just better, they're in a different league.
    I've tried shooting in Faithful, Neutral and also toggling these presets in different ways and still can't get Aperture to match what I see on the camera's screen or in other Apps.  I love the interface and DB of Aperture, but what's the point of using it if it doesn't produce and awesome image in the end?

  • Bluetooth File Transfer Problem with Video Clips -...

    Hello!
    I am posting this problem even though a similar one is claimed to be solved ...
    I have a similar Problem with BT video clip file transfer in my E5-00 as someone had earlier with music files (SW up to date). Except that in this case the files are unique video clips received from one of the latest Samsung Android phones via Bluetooth (don't ask me which format).
    Tried the obvious first, using Windows File Manager over USB. Even Windows Search could not locate the files, not even using wildcards.
    Also tried using Ovi Suite Syncronisation, but the files did not appear in either Photos/Videos or Messages (even though the files are in the SMS Inbox - does not make sense why). 
    The problem in applying the solution approach presented here for Music seems to be that the files cannot be played at all in my E5-00's. Therefore I don't get as far as to the menu where the E5 would ask whether or not the files should be saved or not.
    So far I have not been able to connect to an old bluetooth laptop (Windows XP) so that the Bluetooth Exchange would connect let alone seen whether the BTexchange works in this case or not.
    Is there any other chance of getting to the files through the directory structure? If so, please give me the (Windows) directory path? Any other advice than switching to Android?

    Unfortunately I have reached an impasse.  If I touch a video clip (in organizer) the system crashes.  I mean locked up cold. I'm not sure what has caused this but I do know that I will not be able to communicate correctly or sufficiently with you in order for you to help me out.
    I've found PS and Premier to be very difficult to work with.  Very, very frustrating.  Photography, both still and video, is not as enjoyable as it once was.
    Again, I very much appreciate your initial help and if I get to a point where I've improved my situation ... I'll reach out again.  Thanks

  • Comparable problem with eclipse

    I want to use "Comparable" in eclipse, but always has a problem with a steatment that " The type Comparable is not generic; it cannot be parameterized with arguments <Node>".
    program is here:
    public class Node implements Comparable<Node>
         public int value;
         public boolean LeftchildSent; //used for checking if leftchild sent the value to the node at last round
         public boolean RightchildSent; //...
         public boolean ParentSent; //...
         //constructor
         public Node(int value, boolean LeftchildSent, boolean RightchildSent, boolean ParentSent, Node left, Node right)
              this.value = value;
              this.LeftchildSent = false;
              this.RightchildSent = false;
              this.ParentSent = false;
         //implements comparable
         public int ComparableTo(Node n)
              if(value < n.value) return -1;
              if(value == n.value) return 0;
              if(value > n.value) return 1;
    }anybody help, thanks very much

    Be sure to:
    1- Use a JRE System Library 5.0+ for your project.
    (Properties / Java Build Path / Libraries)
    2- Use a compiler compliance level 5.0+ for your project.
    (Properties / Java Compiler / Compiler Compliance Level)
    3- Change your last method to:    public int compareTo(Node n) // *** bad name used
            if(value < n.value) return -1;
            if(value > n.value) return 1;
            return 0; // *** be sure to have a return statement
        }or better:     public int compareTo(Node n)
            return value - n.value;
        }

  • RAW file rendering problems with Pentax-k5

    Since a few weeks I have serious problems with the raw rendering in aperture 3.4. I have done everything to solve this problem, but until now without succes. I have upgrade with mountain lion OS X 10.8.2 and I use the latest version of aperture 3.4.3 RAW 402 build 672.6.
    Does anyone have this problem to? Or do you know how to solve this problem?
    Regards
    Jan K.

    Jan,
    that may be the same problem as discussed in this thread. Do you use in-camera settings to enhance your pictures? these will not be captured in the raw processing that Aperture does, but the pentax software understands the in-camera settings:
    Image Previews In Aperture 3 - Canon 5D MK2
    Regards
    Léonie

  • Jar file import problem with ADF application

    Hi Everyone,
    I am using Jdev 11g with integrated WLS. I have an ADF application and is trying to integrate JasperReport in it. I added the JasperReport JAR file in the project properties -> Libraries and Classpath, and checked it for "export" and "Deployed by Default'. I have my JasperReport codes in my managed bean
    as follows
    +public String cb1_action() {+
    +try {+
    +JasperDesign design = JRXmlLoader.load("C:/JDeveloper/mywork/ReentryApplication/ViewController/public_html/jasper/testReport.jrxml");+
    +JasperReport report = JasperCompileManager.compileReport(design);+
    +....+
    +}+
    +}+
    I am able to compile the managed bean class successfully. However when I run the application, I got a stack of errors like this,
    +[2009-10-08T11:31:59.910-04:00] [DefaultServer] [ERROR] [] [javax.enterprise.resource.webcontainer.jsf.application] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: test123] [ecid: 0000IGollZuB5EirL4YBUA1AnVop00000L,0] [APP: ReentryApplication] java.lang.RuntimeException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:[[+
    +C:\Documents and Settings\MISSP29\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\testReport_1255015914097_607807.java:4: package net.sf.jasperreports.engine does not exist+
    +import net.sf.jasperreports.engine.*;+
    +....+
    It appears that the JAR file is not picked up at the runtime correctly. I tried a simple Main class with the same codes and JAR file added, it works fine. Does anyone know what I am missing within the ADF application?
    Any helps would be appreciated.
    Thanks,
    John
    Edited by: john wang on Oct 8, 2009 9:24 AM

    Timo,
    Thanks you for your prompt response.
    1. I checked The following folder (I assume this is where it supposes to be). The JAR file is there.
    C:\Documents and Settings\MISSP29\Application Data\JDeveloper\system11.1.1.1.33.54.07\o.j2ee\drs\ReentryApplication\ReentryApplication-ViewController-webapp\WEB-INF\lib
    2. I did not do anything about deployment descriptor. Since I run my application within JDev integrated WLS, I did not do anything about deployment setting. Do I need do something with deployment descriptor if I want to import additional JAR files here? With my experience with 10g, to add a JAR file within JDev, all I need to do is to add it through project properties ->libraries.
    3. I agree with your absolute path comment. This is a test of how JasperReport works with ADF application. I will work it out later.
    Thanks,
    -John

  • File Synch problem with timestamp

    Win2k, LabVIEW 7.0
    I'm trying to do file synchronization between the data files I produced on the local disk, and a remote server.
    I am doing a LIST FILES on the local folder, and a LIST FILES on the remote folder.
    For each file, I do a GET FILE INFO, and look at the LAST MOD data (a TIMESTAMP value).
    For each file in the SOURCE folder, I match it up with the corresponding entry in the DESTINATION folder.
    I then compare the times, and if the SOURCE timestamp is greater than the DEST timestamp, then I delete the DEST file, and COPY the source file to the DEST.
    There are a few files that fail this process, though, and I am puzzled as to why.
    If I look (via Windows explorer) at the properties of one of these files, it says the LAST MOD date is 6:09:20. That is the case for BOTH the local copy and the remote copy.
    However, the SYNCH logic above insists on copying this file every time it runs. When I add logging stuff to the synch process, it tells me that the local file has a date of 6:09:21, and the remote file has a date of 6:09:20, so it wants to copy it.
    But after the copy, things are exactly the same - Windows shows the times identical, but LabVIEW shows them ONE second apart, and copies them AGAIN the next time it runs. This is true for about 6 files out of a folder of 50-60. I suppose I could allow for that one second, if I knew why it was there.
    What's biting me here? If the file really had a MOD DATE resolution of 1 mSec say, then I could understand that maybe the PROPERTIES window truncates the value, and the TIMESTAMP does not. But even then, it ought to copy ONCE and set them the same...
    The "Server" I am testing on is running OSX, 10.4.6, if that matters.
    What am I missing?
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    CoastalMaineBird wrote:
    Win2k, LabVIEW 7.0
    I'm trying to do file synchronization between the data files I produced
    on the local disk, and a remote server.
    I am doing a LIST FILES on the local folder, and a LIST FILES on the
    remote folder.
    For each file, I do a GET FILE INFO, and look at the LAST MOD data (a
    TIMESTAMP value).
    For each file in the SOURCE folder, I match it up with the
    corresponding entry in the DESTINATION folder.
    I then compare the times, and if the SOURCE timestamp is greater than
    the DEST timestamp, then I delete the DEST file, and COPY the source
    file to the DEST.
    There are a few files that fail this process, though, and I am puzzled as to why.
    If I look (via Windows explorer) at the properties of one of these
    files, it says the LAST MOD date is 6:09:20. That is the case for BOTH
    the local copy and the remote copy.
    However, the SYNCH logic above insists on copying this file every time
    it runs. When I add logging stuff to the synch process, it tells me
    that the local file has a date of 6:09:21, and the remote file has a
    date of 6:09:20, so it wants to copy it.
    But after the copy, things are exactly the same - Windows shows the
    times identical, but LabVIEW shows them ONE second apart, and copies
    them AGAIN the next time it runs. This is true for about 6 files out of
    a folder of 50-60. I suppose I could allow for that one second, if I
    knew why it was there.
    What's biting me here? If the file really had a MOD DATE resolution of
    1 mSec say, then I could understand that maybe the PROPERTIES window
    truncates the value, and the TIMESTAMP does not. But even then, it
    ought to copy ONCE and set them the same...
    The "Server" I am testing on is running OSX, 10.4.6, if that matters.
    What am I missing?
    It
    is a file system issue. NTFS uses something like a 100nSec resolution
    but historically the FAT file times have had a two second resolution.
    Apparently the Property dialog does convert the timestamp to a DOS time
    all the time before displaying it.
    Your MacOSX system uses a completely different resolution (at least 1
    sec but probably better). The network protocol does allow for high
    resolution transmissions and so the exact time gets transmitted but
    somehow your local system has a DOS limitation for the harddisk volume
    in question so that LAbVIEW returns the DOS time too for the local
    volume. The Explorer property dialog will always show DOS time only it
    seems, I had similar issues in the past but didn't really dig deeper,
    just accepted the 1 second difference.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • HT1311 I set up I cloud which told me I needed a outlook address which I set up now I have 2 apple Id's and I can't use my apple ID on my Iphone5 Help

    Help please... I was given a new I phone 5S and realized I would loose all my information on my phone, so I turned on I cloud and it told me I needed a "outlook" email address which I set up.  Now I have 2 email addresses but it won't acknowledge my

  • Alarm not working correctly

    I am having the same problem. I set my alarm for 6:30pm on 12-31-2010 and it failed to ring. I did not think much about this and I set another alarm for 1:15am on 01-01-2011 and it sounded. I set another alarm for 01-02-2011 at 5:15am and one for 5:2

  • I need help with installation.

    I just experienced a disk crash and while I have the License numbers of my Premiere Elements 5.0 and Photoshop Elements 6.0 I do not have the backup copy of the install files.  Can you help or must I re purchase the programs?

  • Query across multiple databases

    Hi, One shot question: is it possible in Oracle to write a query joining two tables from different databases ? I used MS SQL, and it was duable there, but I have to port app to Oracle, and I did not manage to do this on oracle. I use oracle 9 Thanks.

  • Navigation on Page Skin or Page Template?

    1. Should global left navigation be part of a PAGE SKIN or PAGE TEMPLATE? We want to develop a similar but different design look (top nav, left and right nav) for different departments in our company. I am trying to figure out if we would create mult