How to find out if file contents under some document library SPListItem has changed

hi,
I am building a Sync tool which will Sync SharePoint document library to some other service(e.g. FTP). I have added event handlers on the document library for ItemAdded, ItemUpdated etc.. etc.
Now i have one problem, when ever a file is updated (either custom properties and/or file content) then there is no way to check if its updating of content or custom fields. So everytime i need to upload my file to that FTP location. I want to get some indication
that this time file content is updated not the custom fields, or file content with custom fields are updated.
I have checked After and Before properties but its of no use. When ever you rename a file or just open the edit dialogbox and save it without updating any thing, all after and before properties are same :(
Need some solution for this, any help suggestion is appriciated.
Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA

Sorry for late reply.
1st link (storing file hash/MD5) is not a solution for me as i have many Office documents
2nd link doesnt have nay answers
Archive Folder is not a solution. How can i find if current item SPFile has content changes?
I already have my custom fields with each SPListItem. How can i find in itemUpdating/ed that if file content is changed? to make my custom field ture?
Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA

Similar Messages

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

  • How to find out average files i am getting every day in a month?

    How to find out average files I am getting every day in a month?

    Do you mean average count of files received?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to find out the last date & time on which a program has been run

    Hi Experts,
    Can anybody tell how to find out the last date on which a purticular program has been run.
    Valuable answers will be rewarded.
    Thanks & Regards,
    Satish.

    Hi!
    Try STAD transaction. Unfortunately it contains a huge amount of data, so it is available only for a few days backwards... Maybe some weeks, but you can't make yearly reports from its data... So it's not useful to see, which program is in use or not...
    I planned once to download it weekly, but it was not so important...
    Regards
    Tamá

  • How to find out MIGO or MIRO without FI document

    hi ,can somebody tell me how to find out those MIGO & MIRO wihtout FI doucment ,thanks

    hi
    u can use MB5S for the grir balances
    or  u can use MR11
    or use ME80FN here execute the report and then select the PO history mode u will get all the pos which have been processed and the gr and ir quantity and value will be there
    also u can refer ME2N here in Scope of list   choose ALV and in selection parameters      WE102
    here u will get list of all pos with GR
    regards
    KI

  • How to find out MIGO or MIRO without account document

    hi,can somebody tell he how to find out MIGO / MIRO withou account document,because my client want to check GL of GR/IR with MIGO&MIRO.
    in theory,MIGO - MIRO = GR/IR balance,but if no FI document generated from migo or miro for some reasons,they two do not reconcile,right?

    If no Fi document, then there is no GR/IR account in picture. so there is no question of reconciliation.

  • How to find out what files a package has installed?

    Sometime you installed a package, but you don't know the name of the command to run and you don't know the name and location of the configuration files. There are conventions but is there a way to show those information explicitly?

    aberkoke wrote:
    You can try
    $locate
    for example. you write
    $locate firefox
    and you will see all files about firefox.
    That's a partial solution. Suppose I installed a package called gtk-vim, but the binary is gvim and I didn't know that. If I use
    locate gtk-vim
    it will not find "gvim".
    Besides, different packages may install files with names identical or partially identical. What I want to find out is what files a specific package installed or removed, or changed, just like the deb package manager in ubuntu.

  • How to find out a file from client machine

    hi all,
    I want to read a file from client machine, like a outlook express file in which all the address are saved, using servlet. Initially i do not know the file path for that file, How i can read that file.
    plz help me
    thanx in advace
    Manish

    You have 2 possibilities. First, you might be able to mount the client's disk drive at the server; the servlet can then access that drive directly. Second, install a client program on the client machine and communicate with that program, and have it do the search (or whatever).
    Outside of Java, there are remote-access programs - like PCAnyWhere.

  • How to find out if any masters are in my Library?

    Hi!
    I've been using Aperture for a while (most masters are on different hard drives, but maybe some are in my library by mistake when I imported them), now want to consolidate all my photo-masters on a separate "photo" hard drive and leave in my Aperture Library only the previews and the adjustments.
    I have some projects in my library, and my library is 12 GB. Is there a quick way to find out if any of my masters are in the library so I can "take them out" and put them on my separate HD?
    If there was a way to sort by "badge" and see the ones not referenced that would be nice.
    Thanks for any help!

    Sorry I see I put my question in the wrong category, it should not be in "Book Printing". Sorry, I will report in the right place.
    Not sure how to delete this one, though, will mark as answered if I can't find out how to delete it.

  • How to keep original Uploaded File Name in SharePoint Document Library?

    HI,
    I have document library. After Uploaded the file in document library. I want to keep the file name in some other filed.
    Why because in future i may change the file name in document library so in order to know the original name of the file.
    I want to do without any workflow. Is there any other default column like that?
    How could i achieve it?
    Thanks & Regards
    Poomani Sankaran

    Hello,
    Here is list of operations for file element, and you can save it in library column:
    http://social.technet.microsoft.com/wiki/contents/articles/22156.sharepoint-2010-a-complete-list-of-spfile-operations-using-ecma-script.aspx
    http://sprider.org/2011/12/13/sharepoint-ecmascript-to-adddeleteupdateget-list-items/
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • ORA-01017: invalid username/password; how to find out orapwd files 's pwd

    Hi, gurus,
    I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
    ORA-01017: invalid username/password; logon denied
    Is this means the sys password I provided is not the one generated as per orapwd utility?
    however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
    Anybody help here?
    Thanks.

    Hello;
    In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
    Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
    Proof :
    Re: Transport service doesn't work with error  ORA-16191
    Best Regards
    mseberg
    Double check of my notes
    ORA-01017
    Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
    In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
    Edited by: mseberg on Jul 6, 2012 6:30 AM

  • How to find out the PO line items for which no GRN has been done

    Dear Friends,
    I need a report which will show all the fully open PO items for which no GRN has been done.
    In ME2N when I give the selection parameter "open goods receipt" then it shows all the line items with partially & fully open. But my requirement is to get a report of only fully open items.
    Regards
    Rutabhadra Panda

    Hi Friends,
    Thanks a lot for your reply.
    But this is a report which projects the expected GRNs & does not depend whether partial or full.
    Is there any other way out?
    Can  I download from the table directly.
    Regards
    Rutabhadra Panda

  • How to find out the node count?

    How to find out the node count in illustrator document through programmatically. Kindly advice me.

    Check DBA_HIST_RESOURCE_LIMIT. Your information will be there.
    Simialr information is available in DBA_HIST_SYSSTAT.
    Look for stat name logons cumulative/logons current - Total number of logons since the instance started/Total number of current logons
    You can joing dba_hist_snapshot with snap_id and give begin_interval_time and end_interval_time to know historic process utilization.
    Regards,
    Sreejith

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

  • How to find out the GR Numbers for which IR has not been done

    Hi Sap Gurus,
    Can anybody tell me how to find out the G R Numbers for which Invoice Receipt has not been done. Any TC or ant standard process to find out.
    Thanks N Regards,
    Siddhartha

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

Maybe you are looking for

  • Sharepoint Foundation 2010 calendars not linking to Outlook 2013

    We have been using linked calendars between SharePoint Foundation 2010 and Outlook 2010 for some time. I have upgraded a few users to Outlook 2013 and now cannot link the SharePoint calendars. are there any known compatibility issues?

  • Using SO Write to play a continuous waveform using PC sound card. (Circular Buffers?))

    How can I play a continuous, repeating waveform using SO VI's (that isn't choppy)? I gather that I need to buffer the waveform, and I see examples using AO VI's, but how do you buffer using SO Write? What are Circular Buffers and might I use this tec

  • ORA-00942 -- Problem with XSD Registration

    I was able to successfully register an XSD file and the corresponding tables got created. When I query "Select * from tab" I can see all the the tables. BUT When i do a 'desc' or a 'select count(*) from <table_name>' ORA-00942: table or view does not

  • Can't get Logic to start in new OS

    I haven't used my Logic Studio since I upgraded to Lion OS and now I can't get it to work. If I look for updates using Apple's website it can't find my serial number... Any ideas? Also when I run the ap it states "You can't use this version of the ap

  • Jdbc version

    is there a way i can programatically determine whether the driver i am using is jdbc 2.0 compliant?