How can I get the File Creation Date OR Last modification date of the incoming file in my message?

I need the Last Modification Date and the File creation date of the consumed file in my message, is it possible to do that using a custom pipeline component in decode stage or any other way? The FILE namespace have File creation time that actually gives
the time the file was dropped in receive location, not the actual creation time. Also this namespace doesn't have the Last Modification Date.

Yes,
As per MSDN, "File.FileCreationTime" - "Defines the time that the file was written to the folder that is monitored by the File receive
adapter."
So for File Modified DateTime, only option I can think of is create a custom file adapter (updating the File Adapter code from SDK ..\SDK\Samples\AdaptersDevelopment\File Adapter) and access the received file with the code something like the following, which
you give you the Last Modified date
string sLastModifiedDate = File.GetLastWriteTime(path).ToString();
If there are any business requirements which drives you this, then this the only way I can think of. Because you can access the file properties only in adapter, when it passes through adapter file is handled as stream and you will only have context properties
to access the file related properties.
If you're looking for implement this for any audit purpose or for your any technical purpose, then you can suggest some alternate than using File updated datetime.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work?  The icon does not appear at top status bar..

    I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work?  The icon does not appear at top status bar..

    Welcome to the Apple Support Communities
    See > http://support.apple.com/kb/HT5404 AirPlay Mirroring is compatible with Mid 2011 and newer MacBooks Air, and OS X Mountain Lion.
    As you have Mac OS X Snow Leopard, you haven't got a compatible MacBook Air, so you can't use AirPlay Mirroring. However, you can use a third-party app as AirParrot to mirror the MacBook onto your Apple TV > http://www.airparrot.com

  • Fire FTP does not work with Firesfox 4. It worked OK with version 3. How can I get a New Fire FTP? Last version of FTP does not solve the problem

    Fire FTP does not work with Firesfox 4. It worked OK with version 3. How can I get a New Fire FTP? Last version of FTP does not solve the problem

    I need to know if it's 64-bit or 32-bit.
    If it's 64-bit, try copying the mms.cfg file from C:\WINDOWS\syswow64\Macromed\Flash to C:\WINDOWS\system32\Macromed\Flash

  • How can I get an album to play in order on Itunes?  The songs keep skipping all around to other albums that I did not want to listen to at that time?

    How can I get an album to play in order on Itunes?  The songs keep skipping all around to other albums that I did not want to listen to at that time?

    It sounds like you might have the shuffle button at the bottom left of the iTunes (the button with the squiggly lines).
    If that's not the case, then maybe you just need to sort your library by album by clicking the album tab at the top.
    Is your music in a playlist, or are you trying to play it from the entire library?

  • I have a DVD Acrobat Pro 9. I upgraded laptops and trying to install but the DVD is not readable. How can I get a new DVD or Download Acrobat Pro 1. The product is registered and I have the serial number. PS: Contacting Adobe on this issue is impossible..

    I have a DVD Acrobat Pro 9. I upgraded laptops and trying to install but the DVD is not readable. How can I get a new DVD or Download Acrobat Pro 1. The product is registered and I have the serial number. PS: Contacting Adobe on this issue is impossible... direct support stinks.

    Download AA 9 Pro from http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. Make a new backup for your archive. You might also take the DVD to your library to see if it is a drive problem. You might also carefully clean the DVD with water and soap (do not use anything that would scratch the surface or you have destroyed it for sure) and see if that solves the problem. This is particularly an issue if you have finger prints or other crud on the DVD. However, it could also be a bad drive as I mentioned. Hopefully the download solves your problem in any case (I would backup the download to CD and/or backup HD).

  • How can I get authentication and authorization through OS X open directory with the Sun ZFS STOR ZS3-2

    how can I get authentication and authorization through OS X open directory with the Sun ZFS STOR ZS3-2
    I have configure NFS, I need help configuring the share that I created in the Sun ZFS STOR ZS3-2 to connect with the OS X Open Directory

    Hi,
        You may  try checking the help page for ldap configuration :
    https://<Appliance_IP>:215/wiki/index.php/Configuration:Services:LDAP
    ZFS Storage supports LDAP, NIS, AD as directory service.
    Hope Open Directory is also based on LDAP and may work in similar fashion.
    Thanks
    Nitin

  • HT201320 How can I get TRASH to show on my 5S when I slide the email to the right? I see more & Archive

    How can I get TRASH to show on my 5S when I slide the email to the left? I see more & Archive

    Hi SCAnn!
    Here is an article that can explain that feature for you:
    iOS: Understanding Gmail Archive
    http://support.apple.com/kb/ht4207
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • I had to restore my iPhone and lost a lot of music!!! How can I get it back?! No cloud appears next to the songs, just buy!

    I had to restore my iPhone and lost a lot of music!!! How can I get it back?! No cloud appears next to the songs, just buy!

    You should be storing everything on your computer and you should always backup your computer.  Have you failed to do these things?
    If so, not good, then you can redownload some iTunes purchases in some countries.  Open iTunes store, click Purchased under Quick links

  • If I purchased a movie, from a computer a LONG time ago like 3 years but recently I changed computers how can I get that movie back? p.s. I bought the movie from iTunes

    If I purchased a movie, from a computer a LONG time ago like 3 years but recently I changed computers how can I get that movie back? p.s. I bought the movie from iTunes

    If you don't have the movie on the old computer and you don't have the movie backed up on a disc somewhere, your only choice is to purchase the movie again. Currently, movie downloads are a one time deal andit is your responsibility to have a backup copy.
    If you have the movie on the other computer still, you can burn it to a DVD and then copy it over to the new computer.
    Personally, I have two computers and when I make a purchase on one, iTunes automatically copies it to the other and I have never lost videos or music in this manner.

  • HT4623 How can I get my iPhone 4S unlocked - it's currently locked on the 3 network - 3 can't do it unless I have an account with them.

    How can I get my iPhone 4S unlocked - it's currently locked on the 3 network and they won't unlock it unless I have an account with them.

    Only 3 can authorize unlocking it. If you don't meet their conditions, then you're out of luck.

  • How can I get this function to fire off last?

    In the following code, there are two buttons on the stage- "button1" and "button2". 
    I want to get the buttons to change frames and THEN have the "playerChange" function fire off.
    Currently, the "playerChange" function fires first. Moving the function  either renders the code inoperable or
    returns error messages.
    function buttonChange (e:MouseEvent)
    {if    
                    (e.target.currentFrame == "frame1" )
             if (e.target==button1) (playerChange)
                     (e.target.gotoAndStop(player.currentFrame + 1)) 
               else{player.gotoAndStop(player.currentFrame)
              if (e.target==button2)  (playerChange) 
                    (e.target.gotoAndStop(player.currentFrame + 1))
              else{player2.gotoAndStop(player2.currentFrame)
    button1.addEventListener(MouseEvent.CLICK,buttonChange );
    button2.addEventListener(MouseEvent.CLICK,buttonChange);
    Note:this is an abridged version of the code. The code I'm actually using uses 20 buttons and about 8 conditionals for each button, so e.target is more convenient than writing a command for each button.

A: How can I get this function to fire off last?

the code is very hard to understand
it's badly formatted
{}'s don't match
you aren't calling a playerChange function
this is my guess at something that might work for you
function buttonChange (e:MouseEvent)
          if(e.target.currentFrame == "frame1" )
                    if (e.target == button1)
                              e.target.gotoAndStop(player.currentFrame + 1);
                              playerChange();
                    else
                              player.gotoAndStop(player.currentFrame);
                              if (e.target == button2)
                                        e.target.gotoAndStop(player.currentFrame + 1);
                                        playerChange();
                              else
                                        player2.gotoAndStop(player2.currentFrame)
button1.addEventListener(MouseEvent.CLICK,buttonChange );
button2.addEventListener(MouseEvent.CLICK, buttonChange);

the code is very hard to understand
it's badly formatted
{}'s don't match
you aren't calling a playerChange function
this is my guess at something that might work for you
function buttonChange (e:MouseEvent)
          if(e.target.currentFrame == "frame1" )
                    if (e.target == button1)
                              e.target.gotoAndStop(player.currentFrame + 1);
                              playerChange();
                    else
                              player.gotoAndStop(player.currentFrame);
                              if (e.target == button2)
                                        e.target.gotoAndStop(player.currentFrame + 1);
                                        playerChange();
                              else
                                        player2.gotoAndStop(player2.currentFrame)
button1.addEventListener(MouseEvent.CLICK,buttonChange );
button2.addEventListener(MouseEvent.CLICK, buttonChange);

  • Downloaded ios5 one week ago, synced itunes and lost most apps, even folders and modified backup.  How can I get back what I had before last synced?

    Downloaded ios5 one week ago, last nigth synced itunes and lost most apps, even folders and modified backup.  How can I get back what I had before last synced?

    Try resetting your home screen layout, go to your setting>general>reset home screen layout. 

  • How can i get portal user creation date?

    Hi,
    In my web dynpro java application i must get user creation date.
    How can i get user creation date?
    Thanks.

    user.created()

  • When clicking "Save image as" how can I get Firefox to auto add a (1) (2) etc at the end of the filename if an image with the same filename already exists?

    How can I get Firefox to automatically rename images when clicking "Save image as" on the menu, when an image with the same file name already exists in the folder??

    Hello,
    That is not a feature that is supported natively within Firefox but there are various add-ons which I think will do the job you need.
    The one I have used is [https://addons.mozilla.org/en-US/firefox/addon/web-slide-show/?src=search Web Slide Show]. This is primarily an add-on for viewing a slideshow of images when they are presented as thumbnails on a web page. However once you are in the slideshow there is a download button which will download all the images in the slideshow. It will automatically rename the images if an image with the same name already exists in the folder.
    If you don't like that add-on then here are some others that may do the same job:
    * [https://addons.mozilla.org/en-US/firefox/addon/image-download-%E2%85%B1/?src=search Image Download II]
    * [https://addons.mozilla.org/En-us/firefox/addon/image-picker/ Image Picker]
    I hope that helps. Let me know if not.
    Also I notice that you are using Firefox v23. That is now an outdated version. To get the latest security updates I suggest updating to version 24. See the support article here: [[Update Firefox to the latest version]].

  • How can I get Bookmarks to ask me in which folder to store the bookmark?

    On my other computer & my wife's computer, when I click on 'Bookmarks' I am asked which folder I want to use to store the bookmark.
    It used to work that way on this computer but now it does not ask where to save the bookmark. I just saves it in the 'Recently Bookmarked' folder.
    How can I get back to asking me which folder to use?
    Thanks for any help.

    Any chance you have the McAfee Site Advisor extension installed in Firefox? <br /> If so, disable it until McAfee fixes it.

  • Maybe you are looking for

    • Onclick doesn't work with images

      why would you not encorporate the onclick event for images, images are after all such a big part of webpages, it severly messes up so many websites, can you please make the next version work onclick for images? == URL of affected sites == http:// ==

    • Trace to know the server name or server's IP

      Hi, Given one domain name like NTNET11 how can I trace which server name or IP, is inside having all the AD details? Many Thanks & Best Regards, Hua Min

    • Color picker iPad Keynote?

      Is there any way to, or an app to help to, access a Color Picker in the iPad Keynote? Seem to be stuck with the predetermined colours in Themes only?

    • 16:9 display in textmode

      My next notebook will probably have one of these ugly widescreens, as there are hardly any cheap ones with 3:4 displays. What will I have to do on the kernal command line to tell framebuffer what to do? The framebuffer settings have this strange code

    • Spit water on macbook pro what should i do?

      I spit on my mbp and i dont know what to do. It turned off right after i spit water on it i tried to dabb it off but it turned off . It hasnt been on since. Its been off for about 5 days i also read online that if i hold the control command and power