Loading a file when the file is updated

Is their a way to load a file only when their is something changed in the file?

JoVMo wrote:
Is their a way to load a file only when their is something changed in the file?
Well you're going to have to read it in some form or another to see if 'something changed in the file'..
What about storing the old file's size in bytes and using the 'Get File size' function to return the current size of the file in bytes. If there's a difference between your stored value and the current value, then the size of the file has changed. 
Of course this will only work if the file's size changes and will not work if your overwriting an existing file with similar data which may contain the same number of bytes.
Maybe you could provide some more details for futher solutions

Similar Messages

  • How to stop PO output when the indicators are updated with a prog. **URGENT

    Hi,
    I have developed a update prg which will update the Final invoice indicator and Goods reciept indicator in SRM as well as in R/3 only for 'ORDERED' PO's. This was done using BBP_PO_PD_UPDATE FM. Everything is working fine, all the indicators are getting updated as expected both in SRM and R/3.
    Only problem is that when the indicators are updated in SRM, PO Output is getting generated which should not happen.
    Do you have any idea how to stop the OUTPUT.
    This is very urgent.
    BR,
    Parvez.

    PO output
    PO Output problems
    disable PO output on po change in SRM

  • How to update a chart when the array is updated

    Hi I am using an array to populate a chart in FB3 and having trouble updating the chart when the array is updated.
    Chart
             <mx:Label id="archiveTitle" x="10" y="10" text="Current Archive " fontSize="14" fontWeight="bold"/>
             <mx:PieChart id="chart" height="130" width="300" color="0x323232"
                showDataTips="false" dataProvider="{ratingAC}"  y="22">
                 <mx:series>
                    <mx:PieSeries field="Rating"/>
                </mx:series>
            </mx:PieChart>
    Array + Vars
             [Bindable]
             public var newsDB:ArrayCollection = mx.core.Application.application.newsDB as ArrayCollection;
             [Bindable]
             private var positive:int = 1;
             [Bindable]
             private var neutral:int = 0;
             [Bindable]
             private var negative:int = 0;
             [Bindable]
             private var ratingAC:ArrayCollection = new ArrayCollection([
             { Rating: 1 },  // no data
             { Rating: positive }, // [0] positive
             { Rating: neutral }, // [1] neutral
             { Rating: negative }  // [2] negative
            private function init():void{
                   buildChart();
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, test);
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, buildChart);
            private function test(e:CollectionEvent):void{
                 trace("array changed");
                 positive = 20
            private function buildChart(e:CollectionEvent=null):void{
                 for(var i:int; i<newsDB.length; i++){
                      if(newsDB[i].rateItem == 0){
                           trace(positive);
                           positive += 1;
                           //ratingAC.setItemAt(positive,0);
                           trace(positive);
                      if(newsDB[i].rateItem == 1){
                           neutral += 1;
                      if(newsDB[i].rateItem == 2){
                           negative += 1;

    Sorry, in my app I have an ArrayCollection of items from a news feed that the user has deemed important, and given each item a rating. The For loop will loop through the "newsDB" array and set the var accordingly (positive, negative, neutral). The variables are what is populating the arrayCollection (ratingAC). How would I either a) bind the variables to the ArrayCollection so that it updates when one has changed, or b) update the specific index in the array collection. When debugging, i notice that the variables are updating, but the arrayCollection is not.
    Thanks in advance!

  • When the iOS 7 update will be available?

    yo! when will when the iOS 7 update will be officially available for all Apple device?

    iOS 7 will be released this Fall, (September - December)
    These are the officially supported iOS 7 devices:
    - iPhone 4
    - iPhone 4S
    - iPhone 5
    - iPad 2
    - iPad 3
    - iPad 4
    - iPad Mini
    - iPod touch 5th gen

  • WebView to refresh and update user when the site is updated?

    Anyone know if its possible for WebView to automatically refresh and update user when the site is updated?

    Not without help. WebView is just a brower. You would need to poll or use an asynchronous notification mechanism.

  • K8N Neo2 Platinum: Whens the next bios update?

    anyone have any ideas of when the next bios update will be coming out?..... just curious....

    Nope... You did read the forum rules right? We are just a user to user tech forum. No lads from MSI are here to give you that kind of answer.

  • Authorizations BW (only load flat-file and update hierarchy)

    Hello,
    Could you please explain how can I create an authorization for the user to only load-file and update hierarchy at BW?
    Thanks,
    Adriana

    Dear Adriana,
    I am not really sure about the exact answer for your question. However you can check the following links. It may be helpful.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39f29890-0201-0010-1197-f0ed3a0d279f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/659fa0a2-0a01-0010-b39c-8f92b19fbfea
    Thanks,
    Raj

  • HT201210 my i pad has updated but when the computer is updating it wont load the software back on the ipad error message -1 oe 2003 please help

    Can someone please help. I am distinctly un tech and when trying to update my ipad so we could use bbc i player the software will not load back on to the ipad. Did save all the pictures. I have updated itunes . It says ipad may need service is this true? do they need regual servicing? We are going on hols in a week and no ipad for the airport fills me with horror please help

    The -1 error sometimes indicates a hardware problem.
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
     Cheers, Tom

  • OS hangs at loading progress bar when restarting after Security Update

    I've searched for other people who have had issues with the Security Update, but my issue doesn't seem to have been solved. Here's the story:
    Just installed the new Security update. Shut the computer down for the night, started it up, and halfway through starting up it restarted itself again. It got past the grey Apple, the blue progress bar started loading, got to the end, but doesn't go anywhere. I've let it sit for 15 minutes, but no progress. The internal fan sounds like an airplane taking off, it just keeps going faster and nothing happens. Tried rebooting in safe mode, but it got hung up on the grey Apple and spinning wheel of death.
    Anything I can do from the Terminal to fix this?
    Thanks guys!

    cPants:
    Welcome to Apple Discussions.
    Have your tried:
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel, and report if it says anything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need to use a utility like Tech Tool Pro or Disk Warrior
    Good luck.
    cornelius

  • No badge alert on setting icon when the new ios update is released

    Hi all,
    I use iphone 5. I found that a badge is not shown on the setting icon when a new ios update is released. Only way letting me know that there is an update is manual check update, i.e. go to setting->general->software update. I think, normally, the badge should present automatically on the setting icon everytime the update is released. Does anyone find this problem? How to solve this?
    Thanks,

    I have the exact same problem. Been searching Google for answers but have found none :-(
    I upgraded from an iPhone 4s to 5 recently. I had the Settings badge show up right after I got the phone, but after I got home and did a restore from backup to get my 4s stuff over to the 5, then no more badge notification.
    I can't find any settings anywhere to help with this.
    Anybody got any suggestions/thoughts/fixes/etc?

  • TS1424 When I touch the secret passages icon to play the game it starts to load and then when the progress bar completes the game crashes and goes back to windows. It's very frustrating as I really enjoy this game but if it's not rectified I might have to

    When I touch the secret passages icon to load it the progress bar completes and then the game won't start it goes back to windows. I really like this game but if it carries on I might have to delete it sadly

    Have you checked to see if there is an Update for the game ?
    Also... Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Anyone know when the 3.2 update will be out to fix the 3.1?

    New update causing some issues on my ipod touch.

    no one ever knows when an update is coming. we just have to wait.
    in the mean time, what problems are you having? people might be able to suggest solutions or at least temporary workarounds.

  • HT1212 i downloaded the ios 7 and i had never put a passcode for my ipad mini; when the device was updated to ios 7 it is asking me for a passcode. what can i do?

    What do i have to do if my ipad after installing the ios7 do not enter because of asking for a passcode and i've never put a passcode and its a new ipad?

    I had the same problem. After hours and hours of wrong password I placed one that I set up when I bought the iPad, I remembered that password I had to put it even if had disabled the option of asking me a passcode so, I placed that old one and !!!cabum! it continued the settings so, start thinking....

  • Any ideas when the new fw update will be available...

    come on nokia hurry up please and fix the bluetooth problem with mac

    It should be available in Q2, and don't ask them with this question, it will only disturb them in the process of making firmware, it will come when it's ready .You don't want to end up with a buggy firmware, do you? Just wait and please be patient.
    Feel free to hit the KUDOS button if you think I deserved it.........

  • Class file (*.class) updated

    Hi all,
    What will be occurs when a class file (*.class) in an objectcarousel is updated ?
    Will all application be re-initialized? or
    Will just only this class be reloaded? or
    Must we do some codes to explicitly reload this class ?
    Thank you in advance,
    Tien
    http://www.tranthuong.com/
    Let�s make authoring multimedia easier for everyone

    If the class is already loaded then nothing happens when the class is updated.
    If the class is not loaded then when the class is loaded, the current version at that time will be loaded.

  • Have a program in which a sub vi front panel pops up when the main vi is loaded

    I have a strange problem. 
    This problem only occures after building an application using LV 8.6 Professional version Application Builder, and I have installed it onto the target computer. It doesn't happen when running the development system. 
    When I load the program on the target computer, one of the subvi's front panels used in the application appears on top of the main vi's front panel. 
    This subvi should never appear on the front panel at any time during the program exicution.  
    It happens to be the Write to Spreadsheet.vi that is part of the standard vi library. 
    I have checked all calls to this subvi to verify that it has not be modified to make it load or appear when the main vi is loaded.
    It is called at 4 different times during the program exicution but in no instance is it set to show the front panel.  
    Has anyone seen this and if so what was the fix?
    Solved!
    Go to Solution.

    Does the exe file run on your development computer without the popup?
    Can you post a VI that demonstrates this behavior?
    You've probably already checked, but there are two places that need setting, the SubVI Node Setup, and the File Proeprties Execution tab. See attached jpegs.
    Message Edited by Pablop on 09-02-2009 02:20 PM
    ~~~~~~~~~~~~~~~~~~~~
    Paul Johnson
    Renco Encoders, Inc
    Goleta, CA
    ~~~~~~~~~~~~~~~~~~~~
    Attachments:
    SubVI Node Setup.jpg ‏13 KB
    VI Properties Execution.jpg ‏32 KB

Maybe you are looking for

  • Boot camp XP on mac Pro with Leopard

    I have tried to load windows xp onto my new Mac Pro. The firmware is up to date. The files load but the startup disk never ejects. The computer says that it is starting up windows, but never enters into the windows start up screen. The computer conti

  • Intercepting key events

    I've searched the board already for this topic but didn't find an answer. My problem is the following: I have a JTextField which adds a KeyAdapter. The KeyAdapter overrides KeyPressed() I want to check when a user enters a character to see its a char

  • Playback buttons for flash movie

    Hello, im having some difficulty adding a play, pause and stop button to a movie I imported into flash. The movie was imported using the import wizard in flash 8. I did not add a skin because when I tried adding it , the skin would not show through o

  • Alteration in search option in Tool Bar Area??

    Hi All, There is a tool bar Searching iView with us.But when any user searches through it, the search option is working fine.But the results shows files with open folder and details option (as we do not want some user go inside details option and cha

  • How to make bpel wsdl accessible externally

    how can i make my bpel wsdl to be accessed by external system(outside our office network). its an asynchronous bpel .I am using SOA 11G. Thanks Edited by: user13374451 on Sep 28, 2010 8:01 PM