Creation and Modification dates for android file system

Hello all, I am working on a project and i noticed a particular scenario where i'm getting an error everytime i try to run the code below on my android device;
                var file:File=File.applicationDirectory.resolvePath("amf.js");
                var modDate:Date;
                var createDate:Date;
                 if(file.exists)
                        try
                                   modDate=file.modificationDate;
                                   credDate=file.creationDate;
                                   trace("Modification date: "+ modDate.toString()+"\nCreation date: "+credDate.toString());
                         catch(e:Error)
                                  trace(e.message+": Somehow android OS CANNOT READ mODIFICATRION AND CREATING DATES FOR FILES");
Every time i run this on Adobe AIR's Mobile emulator, the correct dates are show up properly(Possibly because the emulator is running on Windows) but when i switch the debug to the device, the statement in the catch block executes. The real error says "Error #3003: File or directory does not exist."
Am i missing something or is this a normal behaviour which i have to find a work around for? The modificationDate and the creationDate are all properties of the FileReference class which i didnt use to instanciate the file object because i wasnt uploading or downloading anything.
Any form of tip will be much appreciated.
Thanks.

I run into the same problem while working on some sort of file synching task.
Trying to read the file.modificationDate or creationDate results in an error: "Error #3003: File or directory does not exist."
I have obeserved that this only happens for files that were packaged with the app (and placed in the File.applicationDirectory).
Files that my app has downloaded and saved to the device (File.applicationStorageDirectory) do have a valid creation date and modification date.
Maybe the File.applicationDirectory has different rights?
Does anybody have a solution or workaround for this?

Similar Messages

  • Creation and Change Date for Tcode and Function Groups

    Hello All,
    I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
    regards,
    Mahesh

    Hi,
    TADIR and TRDIR is the tables where you can find all these data
    Regards
    Sudheer

  • Mac Does Not Retain Video Creation and Modification Dates

    I seem to have encountered a major problem for managing videos on the Mac. There does not seem to be a method - other than manually dragging files "Windows Style" - for moving videos from my camera (any camera) to the Mac (any Mac) that retains the video's modification date (the date the video was taken) so that videos can be organized by date (which, I imagine, is the primary way that I and everyone else would normally keep track of their videos). iMovie resets the "Date Modified" and "Date Created" data to the day that iMovie imported the file. That data is almost meaningless. Yes, iMovie allows for modifying the "Clip Date and Time" after the fact and one at a time but that is obviously inadequate for the serious management of archived files. Neither iPhoto or Image Capture seem to be capable of touching video files at all. Is Mac really this deficient for managing video files? Somebody please tell me I'm wrong. Thanks.

    I run into the same problem while working on some sort of file synching task.
    Trying to read the file.modificationDate or creationDate results in an error: "Error #3003: File or directory does not exist."
    I have obeserved that this only happens for files that were packaged with the app (and placed in the File.applicationDirectory).
    Files that my app has downloaded and saved to the device (File.applicationStorageDirectory) do have a valid creation date and modification date.
    Maybe the File.applicationDirectory has different rights?
    Does anybody have a solution or workaround for this?

  • Need: report showing modification dates for all files in WA

    We're having struggles in our first major product release of BC4J components on OC4j
    using OSCM for version control.
    Mood and release processes are getting more and more extreme as a result of not
    being able to easily manage our release configurations (CM).
    We're desparately in need of a report that shows:
    - what files have been modified VS a configuration name.
    - What files have been modified since I refreshed my WA
    In both we need to be able to print the list.
    Any sql scripts to share or cmd line script would greatly be appreciated!
    Thanks,
    curt

    David,
    Great, I'm making progress! Thanks.
    Yes on the CLI compare of two cfg's, got this working. THANKS
    use of the -fs<myfile> exports this to a printable file too.
    Work in progress:
    - Compare a cfg{N.M} to what's in a pwa or what would be in a pwa if refreshed?
    Experiments here haven't yeilded good results:
    CLI: set workarea myReleaseWA
    CLI: compare -rpmyCfg{1.0} -rpFolderInWA{MAIN;LATEST}
    Some how the directory walking is comparing apples VS oranges and all paths are different.
    - What files have been checked into a branch and I would get if I refreshed my PWA?
    Your SQL above doesn't exactly do this from my experiments.
    The c.spec_entry is null filters on currently checked out files.
    Config. Management may (usually) doesn't care about checked out files, just new checkins that
    a new release would get from a download latest.
    The best I've been able to hack are:
    CLI: set workarea my_release_pwa
    CLI: dir -s-nh-u-pth
    Since dir doesn't support -fs<myfile> or >myfile one needs to cut and past and save to a file
    or use CLI in one shot mode.
    This allows for greping/searching on current month and looking for files newer than the last release date.
    Another SQL based solution that orders the above same info from dir (I'm guessing?) is:
    select w.NAME wa_name
    ,va.changed_by
    ,to_char(va.date_changed,'DDMONYY HH:MI:SS')
    ,va.created_by
    ,to_char(va.date_created,'DDMONYY HH:MI:SS')
    ,jr_name.get_path(c.object_ivid,'VLABEL') obj
    from i$sdd_wa_context c
    ,i$sdd_workareas w
    ,i$sdd_version_associations va
    where w.irid = c.workarea_irid
    and w.name = 'smithc04_commissary_wa'  ---- my pwa
    and va.to_ivid = c.object_ivid
    and c.spec_entry is not null
    and va.date_changed is not null
    order by va.date_changed desc
    /This creates the same report as from dir only sorted conveniently.
    Still the use case question hasn't been precisely answered. I'm still guessing what new files/versions
    would be downloaded vs a release configuration or vs my [release_pwa]?
    I'm alot closer though and thanks,
    curt

  • Service for network file system fails to install

    Installation of the File Service and Service for NFS in Windows 2008 R2 server fails. Following are the steps used to perform the install.
    Open Server Manager from Start> All Programs> Administrative Tools> Server Manager.
    Click on the Roles node in the left pane, and then click the
    Add Roles link.
    On the Add Roles Wizard welcome page, click Next to continue.
    From the list of roles to install, select File Services, and click
    Next to continue.
    On the Introduction to File Services page, click Next to continue.
    On the Select Role Services page, keep the File Server box checked and select
    Services for Network File System. Click Next to continue.
    On the Confirmation page, review the settings and click the Install button.
    Click Close when the wizard completes.
    ServerManager Log:
    From the ServerManager.log file under C:/Windows/Logs I can see the below.
    2272: 2013-02-12 16:13:51.479 [CBS]                       IsCacheStillGood: True.
    2272: 2013-02-12 16:14:05.534 [Provider]                  System changed since last refresh: False
    2272: 2013-02-12 16:15:45.816 [InstallationProgressPage]  Loading progress page...
    2272: 2013-02-12 16:15:45.831 [InstallationProgressPage]  Begining Sync operation...
    2272: 2013-02-12 16:15:45.842 [Sync]                     
    Sync Graph of changed nodes
    ==========
    name     : File Services
    state    : Changed
    rank     : 1
    sync tech: CBS
    guest[1] : File Server
    guest[2] : Distributed File System
    guest[3] : File Server Resource Manager
    guest[4] : Services for Network File System
    guest[5] : Single Instance Storage
    guest[6] : Windows Search Service
    guest[7] : Windows Server 2003 File Services
    guest[8] : BranchCache for network files
    provider : FileServerRoleProvider
    name     : Services for Network File System
    state    : Changed
    rank     : 2
    sync tech: CBS
    provider : FileServerRoleProvider
    name     : File Server
    state    : Changed
    rank     : 2
    sync tech: CBS
    provider : FileServerRoleProvider
    2272: 2013-02-12 16:15:45.842 [Sync]                      Calling sync provider of Services for Network File System ...
    2272: 2013-02-12 16:15:45.843 [FileServer]                Sync:: guest: 'Services for Network File System', guest deleted?: False
    2272: 2013-02-12 16:15:45.843 [FileServer]                Begin installation of 'Services for Network File System'...
    2272: 2013-02-12 16:15:45.843 [FileServer]                Install: Guest: 'Services for Network File System', updateElement: 'ServicesForNFS-ServerAndClient;ClientForNFS-Infrastructure;NFS-Administration;ServerForNFS-Infrastructure'
    2272: 2013-02-12 16:15:45.843 [FileServer]                Installation queued for 'Services for Network File System'.
    2272: 2013-02-12 16:15:45.843 [Sync]                      Calling sync provider of File Server ...
    2272: 2013-02-12 16:15:45.843 [FileServer]                Sync:: guest: 'File Server', guest deleted?: False
    2272: 2013-02-12 16:15:45.843 [FileServer]                Begin installation of 'File Server'...
    2272: 2013-02-12 16:15:45.843 [FileServer]                Install: Guest: 'File Server', updateElement: 'CoreFileServer'
    2272: 2013-02-12 16:15:45.843 [FileServer]                Installation queued for 'File Server'.
    2272: 2013-02-12 16:15:45.844 [CBS]                       installing 'ServicesForNFS-ServerAndClient ClientForNFS-Infrastructure
    NFS-Administration ServerForNFS-Infrastructure CoreFileServer ' ...
    2272: 2013-02-12 16:15:46.315 [CBS]                       ...parents that will be auto-installed: '<none>'
    2272: 2013-02-12 16:15:46.316 [CBS]                       ...default children to turn-off: '<none>'
    2272: 2013-02-12 16:15:46.325 [CBS]                       ...current state of 'ServicesForNFS-ServerAndClient': p:
    Staged, a: Staged, s: UninstallRequested
    2272: 2013-02-12 16:15:46.325 [CBS]                       ...setting state of 'ServicesForNFS-ServerAndClient' to
    'InstallRequested'
    2272: 2013-02-12 16:15:46.335 [CBS]                       ...current state of 'ClientForNFS-Infrastructure': p: Staged,
    a: Staged, s: UninstallRequested
    2272: 2013-02-12 16:15:46.336 [CBS]                       ...setting state of 'ClientForNFS-Infrastructure' to 'InstallRequested'
    2272: 2013-02-12 16:15:46.345 [CBS]                       ...current state of 'NFS-Administration': p: Staged, a:
    Staged, s: UninstallRequested
    2272: 2013-02-12 16:15:46.345 [CBS]                       ...setting state of 'NFS-Administration' to 'InstallRequested'
    2272: 2013-02-12 16:15:46.354 [CBS]                       ...current state of 'ServerForNFS-Infrastructure': p: Staged,
    a: Staged, s: UninstallRequested
    2272: 2013-02-12 16:15:46.354 [CBS]                       ...setting state of 'ServerForNFS-Infrastructure' to 'InstallRequested'
    2272: 2013-02-12 16:15:46.363 [CBS]                       ...current state of 'CoreFileServer': p: Staged, a: Staged,
    s: UninstallRequested
    2272: 2013-02-12 16:15:46.363 [CBS]                       ...setting state of 'CoreFileServer' to 'InstallRequested'
    2272: 2013-02-12 16:15:46.373 [CBS]                       ...'ServicesForNFS-ServerAndClient' : applicability: Applicable
    2272: 2013-02-12 16:15:46.390 [CBS]                       ...'ClientForNFS-Infrastructure' : applicability: Applicable
    2272: 2013-02-12 16:15:46.408 [CBS]                       ...'NFS-Administration' : applicability: Applicable
    2272: 2013-02-12 16:15:46.426 [CBS]                       ...'ServerForNFS-Infrastructure' : applicability: Applicable
    2272: 2013-02-12 16:15:46.435 [CBS]                       ...'CoreFileServer' : applicability: Applicable
    2272: 2013-02-12 16:15:46.493 [CbsUIHandler]              Initiate:
    2272: 2013-02-12 16:15:46.494 [InstallationProgressPage]  Installing...
    2272: 2013-02-12 16:15:51.958 [CbsUIHandler]              Error: -2147021879 :
    2272: 2013-02-12 16:15:51.958 [CbsUIHandler]              Terminate:
    2272: 2013-02-12 16:15:52.035 [InstallationProgressPage]  Verifying installation...
    2272: 2013-02-12 16:15:52.049 [CBS]                       ...done installing 'ServicesForNFS-ServerAndClient
    ClientForNFS-Infrastructure NFS-Administration ServerForNFS-Infrastructure CoreFileServer '.
    Status: -2147021879 (80070bc9)
    2272: 2013-02-12 16:15:52.052 [FileServer]                Skipped configuration of 'Services for Network File System' because install operation failed.
    2272: 2013-02-12 16:15:52.053 [FileServer]                Skipped configuration of 'File Server' because install operation failed.
    2272: 2013-02-12 16:15:52.053 [Provider]                 
    [STAT] ---- CBS Session Consolidation -----
    [STAT] For
              'Services for Network File System',
              'File Server'[STAT] installation(s) took '6.2058637' second(s) total.
    [STAT] Configuration(s) took '0.0002143' second(s) total.
    [STAT] Total time: '6.206078' second(s).
    2272: 2013-02-12 16:15:52.053 [Provider] Error (Id=0) Sync Result - Success: False, RebootRequired: True, Id: 105
    2272: 2013-02-12 16:15:52.053 [Provider] Error (Id=0) Sync Message - OperationKind: Install, MessageType: Error, MessageCode: -2147021879, Message: <null>, AdditionalMessage: The requested operation failed. A system reboot
    is required to roll back changes made
    2272: 2013-02-12 16:15:52.053 [Provider] Error (Id=0) Sync Result - Success: False, RebootRequired: True, Id: 255
    2272: 2013-02-12 16:15:52.053 [Provider] Error (Id=0) Sync Message - OperationKind: Install, MessageType: Error, MessageCode: -2147021879, Message: <null>, AdditionalMessage: The requested operation failed. A system reboot
    is required to roll back changes made
    2272: 2013-02-12 16:15:52.054 [InstallationProgressPage]  Sync operation completed
    2272: 2013-02-12 16:15:52.054 [InstallationProgressPage]  Performing post install/uninstall discovery...
    2272: 2013-02-12 16:15:52.056 [Provider]                  C:\Windows\system32\ServerManager\Cache\CbsUpdateState.bin does not exist.
    2272: 2013-02-12 16:15:52.056 [CBS]                       IsCacheStillGood: False.
    2272: 2013-02-12 16:15:52.526 [CBS]                       >>>GetUpdateInfo--------------------------------------------------
    2272: 2013-02-12 16:15:59.342 [CBS] Error (Id=0) Function: 'ReadUpdateInfo()->Update_GetInstallState' failed:
    80070bc9 (-2147021879)
    2272: 2013-02-12 16:15:59.342 [CBS]                       <<<GetUpdateInfo--------------------------------------------------
    2272: 2013-02-12 16:15:59.380 [DISCOVERY]                 hr: -2147021879 -> reboot required.
    2272: 2013-02-12 16:15:59.390 [InstallationProgressPage]  About to load finish page...
    2272: 2013-02-12 16:15:59.390 [InstallationFinishPage]    Loading finish page
    2272: 2013-02-12 16:15:59.401 [InstallationFinishPage]    Finish page loaded
    In Windows Event long I can see the following events logged:
    Event 3002, Port Map:
      Windows(R) failed a request to register RPC Port Mapper on TCP port 111.  RPC Port Mapper cannot start.
      Network File System (NFS) clients use RPC Port Mapper (also known as Portmap and Rpcbind) to discover NFS protocols on remote servers.  Without RPC Port Mapper, Server for NFS
    cannot start and NFS clients cannot access files on this server.
      Verify that no other software is registered on TCP port 111, then start Server for NFS manually (which will also start RPC Port Mapper).
    Event 7000, Service Control Manager:
    The Server for NFS Open RPC (ONCRPC) Portmapper service failed to start due to the following error:
    A device attached to the system is not functioning.
    Event 7001, Service Control Manager:
    The Server for NFS Driver service depends on the Server for NFS Open RPC (ONCRPC) Portmapper service which failed to start because of the following error:
    A device attached to the system is not functioning.
    Event 7001, Service Control Manager:
    The Server for NFS service depends on the Server for NFS Driver service which failed to start because of the following error:
    The dependency service or group failed to start.
    Based on a technet forum I have already checked and made sure there is no other service running on port 111 (command used is netstat -a -b -o).
    Dependent Service Status:
    During the installation process “Client for NFS” seems to have gone well and the service started successfully. But the “Server for NFS” failed, when checked for the status of the dependent process “portmap” service failed to start with the WIN32_EXIT_CODE
    “31 (0x1f)”. Please find below the query result.
    C:\Users\CMMAdmin>sc query rpcxdr
    SERVICE_NAME: rpcxdr
            TYPE               : 1  KERNEL_DRIVER
            STATE              : 4  RUNNING
                                    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\Users\CMMAdmin>sc query msnfsflt
    SERVICE_NAME: msnfsflt
            TYPE               : 2  FILE_SYSTEM_DRIVER
            STATE              : 4  RUNNING
                                    (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\Users\CMMAdmin>sc query portmap
    SERVICE_NAME: portmap
            TYPE               : 1  KERNEL_DRIVER
            STATE              : 1  STOPPED
            WIN32_EXIT_CODE    : 31  (0x1f)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\Users\CMMAdmin>
    As the EXIT CODE is 31 ( A device attached to the system is not functioning), I have checked device manager and made sure there is no yellow warning shown against any hardware device. Further I am not sure how to proceed and debug this issue.
    Please let me know if you have any suggestion on how debug this issue further.
    Thanks
    -Poopesh

    Hey,
    I had this same problem running MS Server 2008 R2 and server log is as follow:
    name     : Services for Network File System
    state    : Changed
    rank     : 2
    sync tech: CBS
    ant.     : empty
    pred.    : File Services
    provider : FileServerRoleProvider
    5676: 2014-01-14 14:08:57.474 [Sync]                      Calling sync provider of Services for Network File System ...
    5676: 2014-01-14 14:08:57.521 [FileServer]                Sync:: guest: 'Services for Network File System', guest deleted?: False
    5676: 2014-01-14 14:08:57.536 [FileServer]                Begin installation of 'Services for Network File System'...
    5676: 2014-01-14 14:08:57.536 [FileServer]                Install: Guest: 'Services for Network File System', updateElement: 'ServicesForNFS-ServerAndClient;ClientForNFS-Infrastructure;NFS-Administration;ServerForNFS-Infrastructure'
    5676: 2014-01-14 14:08:57.536 [FileServer]                Installation queued for 'Services for Network File System'.
    5676: 2014-01-14 14:08:57.536 [CBS]                       installing 'ServicesForNFS-ServerAndClient ClientForNFS-Infrastructure NFS-Administration
    ServerForNFS-Infrastructure ' ...
    5676: 2014-01-14 14:09:00.173 [CBS]                       ...parents that will be auto-installed: '<none>'
    5676: 2014-01-14 14:09:00.173 [CBS]                       ...default children to turn-off: '<none>'
    5676: 2014-01-14 14:09:00.204 [CBS]                       ...current state of 'ServicesForNFS-ServerAndClient': p: Staged, a: Staged, s: UninstallRequested
    5676: 2014-01-14 14:09:00.204 [CBS]                       ...setting state of 'ServicesForNFS-ServerAndClient' to 'InstallRequested'
    5676: 2014-01-14 14:09:00.235 [CBS]                       ...current state of 'ClientForNFS-Infrastructure': p: Staged, a: Staged, s: UninstallRequested
    5676: 2014-01-14 14:09:00.235 [CBS]                       ...setting state of 'ClientForNFS-Infrastructure' to 'InstallRequested'
    5676: 2014-01-14 14:09:00.266 [CBS]                       ...current state of 'NFS-Administration': p: Staged, a: Staged, s: UninstallRequested
    5676: 2014-01-14 14:09:00.266 [CBS]                       ...setting state of 'NFS-Administration' to 'InstallRequested'
    5676: 2014-01-14 14:09:00.282 [CBS]                       ...current state of 'ServerForNFS-Infrastructure': p: Staged, a: Staged, s: UninstallRequested
    5676: 2014-01-14 14:09:00.282 [CBS]                       ...setting state of 'ServerForNFS-Infrastructure' to 'InstallRequested'
    5676: 2014-01-14 14:09:00.313 [CBS]                       ...'ServicesForNFS-ServerAndClient' : applicability: Applicable
    5676: 2014-01-14 14:09:00.360 [CBS]                       ...'ClientForNFS-Infrastructure' : applicability: Applicable
    5676: 2014-01-14 14:09:00.422 [CBS]                       ...'NFS-Administration' : applicability: Applicable
    5676: 2014-01-14 14:09:00.469 [CBS]                       ...'ServerForNFS-Infrastructure' : applicability: Applicable
    5676: 2014-01-14 14:09:01.624 [CbsUIHandler]              Initiate:
    5676: 2014-01-14 14:09:01.624 [InstallationProgressPage]  Installing...
    5676: 2014-01-14 14:09:35.117 [CbsUIHandler]              Error: -2147021879 :
    5676: 2014-01-14 14:09:35.117 [CbsUIHandler]              Terminate:
    5676: 2014-01-14 14:09:41.170 [InstallationProgressPage]  Verifying installation...
    5676: 2014-01-14 14:09:41.264 [CBS]                       ...done installing 'ServicesForNFS-ServerAndClient ClientForNFS-Infrastructure NFS-Administration
    ServerForNFS-Infrastructure '. Status: -2147021879 (80070bc9)
    5676: 2014-01-14 14:09:41.279 [FileServer]                Skipped configuration of 'Services for Network File System' because install operation failed.
    5676: 2014-01-14 14:09:41.279 [Provider]                 
    [STAT] ---- CBS Session Consolidation -----
    [STAT] For
              'Services for Network File System'[STAT] installation(s) took '43.7368586' second(s) total.
    [STAT] Configuration(s) took '0.0062843' second(s) total.
    [STAT] Total time: '43.7431429' second(s).
    5676: 2014-01-14 14:09:41.279 [Provider] Error (Id=0) Sync Result - Success: False, RebootRequired: True, Id: 105
    5676: 2014-01-14 14:09:41.279 [Provider] Error (Id=0) Sync Message - OperationKind: Install, MessageType: Error, MessageCode: -2147021879, Message: <null>, AdditionalMessage: The requested operation failed. A system reboot is required to roll back changes
    made
    5676: 2014-01-14 14:09:41.279 [InstallationProgressPage]  Sync operation completed
    5676: 2014-01-14 14:09:41.279 [InstallationProgressPage]  Performing post install/uninstall discovery...
    5676: 2014-01-14 14:09:41.295 [Provider]                  C:\windows\system32\ServerManager\Cache\CbsUpdateState.bin does not exist.
    5676: 2014-01-14 14:09:41.295 [CBS]                       IsCacheStillGood: False.
    5676: 2014-01-14 14:09:43.900 [CBS]                       >>>GetUpdateInfo--------------------------------------------------
    5676: 2014-01-14 14:09:57.394 [CBS] Error (Id=0) Function: 'ReadUpdateInfo()->Update_GetInstallState' failed: 80070bc9 (-2147021879)
    5676: 2014-01-14 14:09:57.410 [CBS]                       <<<GetUpdateInfo--------------------------------------------------
    5676: 2014-01-14 14:09:57.488 [DISCOVERY]                 hr: -2147021879 -> reboot required.
    5676: 2014-01-14 14:09:57.613 [InstallationProgressPage]  About to load finish page...
    5676: 2014-01-14 14:09:57.628 [InstallationFinishPage]    Loading finish page
    5676: 2014-01-14 14:09:57.644 [InstallationFinishPage]    Finish page loaded
    My solution was to run netstat -ano to identify what process was running on port TCP/UDP :111, then with the command tasklist I got PID matching with the task name. Once identified I stopped the process, rebooted and installed
    the NFS service. On top of that, before installing NFS services I disabled firewall and antivirus. It worked fine for me. I hope this will be usefull for you. By the way, don't forget to enable all process back!
    Have a good one!

  • Role creation and modification report

    Hello everybody!
    The SOX Audit requested this information:
    A list from all roles, with creation and modifications date (not when a user is added, but when the role was changed).
    How can I find this? I tried on SUIM / modification docs, but could not found.
    Thanks in advanced!

    Check this table AGR_DEFINE has the details, but you may need to write some kind of coding  or use function module  /ISDFPS/GET_AGR_DETAILS to pull the data. If I come across any standard report I'll pass on.
    rgds,
    asok

  • Get original file creation and modified date during upload - ONLY in explorerview ??

    Hi,
    SharePoint and me are having a difficult time again ;-)
    I have the customer requirement to retain the original file's creation date and modified date.
    Please do not start replying by just pasting links that you might find while searching for the keywords "retain creation date".
    In a nutshell I found out that the original dates are only available in SharePoint if the
    explorerview has been used. I always thought that the explorerview is a bad thing, but only here - the original creation date is stored in a property called "vti_ct". In the itemupdated eventreceiver you can get the
    value and work with it.
    Complete list of available properties
    http://sbrickey.com/Tech/Blog/Post/Secrets_Revealed_SP_Event_Receivers_firing_multiple_times
    Here I found the hint with the explorerview
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=57bfd5f5-941f-4a89-919d-cdf7b0b801be
    It is only available in the 2nd loop of the itemupdated event. 
    How the f*** can this happen??? The 2nd post states that when using the explorerview the file is being copied, while it is being re-created by using the SharePoint UI.
    Has anyone a different approach for using the SharePoint UI?
    I thought about different approaches for this issue. From my perspective it seems to be not solvable from the server-side. It seems only to be able to be set using a client application.
    Example 1: spbulkdocumentimport 
    http://spbulkdocumentimport.codeplex.com/wikipage?title=Features&referringTitle=Documentation
    Example 2: implement a custom webservice
    http://blog.orbitone.com/post/Preserve-created-and-modified-information-when-importing-a-document-in-SharePoint
    How do you deal with this customer requirement?
    Open for discussions
    Sven 

    Hi,
    Newbie to SharePoint, learn quite a lot from the links you provided.
    “I found out that the original dates are only available in SharePoint if the explorerview has been used”, this would make sense because the original creation time is generated
    by the file system in the local machine.
    However, when a file is uploaded to SharePoint library, it will be stored as binary data in the database, as well as the newly created time. It means that it will be a “new” file
    in the SharePoint site regardless of where it comes from.
    Per my knowledge, the only way I can suggest is that you will need to create a client desktop application for the file uploading, which will be a more general way not only for
    uploading a file, but also when we need to migrate files between different systems.
    Thanks

  • Check the modification date of a file and compare it to the current date

    Hey everyone,
    I'm writing a script that compares the modification date of a file to the current date, and performs actions based on whether the file was modified 7 days ago or not. I haven't been able to figure out exactly how to do this.
    I haven't been able to find much in the way of this online, and I am not that familiar with manipulating dates and whatnot. I was able to get a bit of it, posted below:
    currentDate=`date +%b-%d`
    fileDate=`ls -l ~/.backup.txt | awk '{ print $6, $7 }'`
    echo "$fileDate"
    echo "$currentDate"
    if [ "$fileDate" <= "$currentDate" ]; then
    echo "old enough to run script"
    else
    echo "not old enough yet"
    fi
    Of course, this doesn't work. Any help would be much appreciated. This is for Leopard.
    TIA,
    Andrew

    find ~/.backup.txt -mtime +7 -exec yourscript {} ;
    You may need to play with the +7 value to get the exact number of days old the file needs to be.
    The find command will accept a directory (actually it is frequently used with directories) and will find all files in that directory and any subdirectories below that match the find selection critiera.
    So you could do something like
    find ~ -mtime +7 | xargs yourscript
    or
    find ~ -mtime +7 -name "*.txt" | xargs yourscript
    and if your script does not accept multiple filenames on the command line, you can use
    find ~ -mtime +7 | xargs -n 1 yourscript
    and if your file names have spaces in them, you can use
    find ~ -mtime +7 -print0 | xargs -0 -n 1 yourscript

  • I can't read in Mavericks DVDs and Bluray data burn with UDF system files burn with Snow Leopard, please help me. Thanks

    i can't read in Mavericks DVDs and Bluray data burn with UDF system files burn with Snow Leopard, please help me. Thanks

    They are DVDs with video files from a little more than 2 GB per file, were burned in Snow Leopard, with UDF file system, now that I updated to Mavericks when I try to read disks displays the directory in the finder a moment and then disappear and does not display them show them more. It is impossible to read the discs, but only those who were burned with UDF file system. Thank you for your help.

  • Plain user and systemd: dependency failed for local file system

    I tried to switch to systemd, but ended up in a maintenance console (Enter root password or Ctrl-D to continue):
    Enter password.
    journalctl -b as suggested yields "Dependency failed for local file system".
    I couldn't find a systemd troubleshooting page in the Wiki. So, can someone point me to such a page? Anyone willing to give some hints?
    What I did so far: Did what https://wiki.archlinux.org/index.php/Systemd tells one should do to switch to systemd.
    In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    Somewhere I read that "mkinitcpio -p linux" should be issued to make systemd work. No (positive) effects.
    Paul
    P.S.: Shouldn't there be a topic "systemd" in "Pacman Upgrades, Packaging & AUR"?

    skunktrader wrote:
    poseidon wrote:In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    According to the wiki you are supposed to append init=/usr/lib/systemd/systemd if you are using the "Mixed systemd/sysvinit/initscripts installation" mode.  In all other configurations you should NOT have an init=.... entry since init becomes a symlink to systemd
    As far as I know, the init= entry doesn't hurt anything - it just isn't necessary.
    EDIT: Of course, it will hurt if the path was wrong...
    Also, at least on my system, /bin/systemd symlinks to /usr/lib/systemd/systemd.
    Last edited by cfr (2012-11-19 23:53:55)

  • Changing creation or modification date with Automator

    Three computers access iTunes in my apartment. The files are located on a drive connect to an airport extreme base station. Each computer needs to import music and have physical access to it for iPods and playlist creation. Since iTunes does not automatically check for new files I am in the process of building an Automator script to fix the problem.
    I have created an Automator action that allows the user to control-click a folder with audio files in it and have Automator manually change the file name, then import the files into iTunes. My hope was that this would change each files modification date so that, at a later time, another Automator action could search the network drive for newly added media via the modification date. My problem is that simply changing the name does not change the modification date. Even creating an archive and unzipping it before importing does not change the date.
    What action can I do with Automator that will change the modification date on those files so that I can search for them later? I know I can add the date to the file name but I don't want a user to have to guess which dates files were added (i.e. I'd have to tell Automator "look for this specific date in the file name' which is obviously unhelpful if I don't know the specific date).
    Long story short, how can I change either dates with Automator?

    Create a column with the following.
    TIMESTAMPDIFF( SQL_TSI_day, Opportunity."Created Date" , CURRENT_TIMESTAMP )
    add a filter on this column, for example, <=90.
    the SQL_TSI_month does not return accurate number of months.
    Cheers!
    Shilei

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • Can we cleanse and transform data at flat file or external table level?

    Hi,
    I have some data that I want to cleanse and transform. I don't want to cleanse it after i populate the external table, I want to get done with it at flat file level or while populating the external table. Can we cleanse and transform data at flat file or external table level through Oracle or OWB 11.2? Is it possible to run a conditional load (i.e. having a where clause or if-else-then) for an external table? Can we call oracle functions for an external table at the time of creation?
    Thanks in advance.
    Regards,
    Ann.

    Hi Oleg,
    Thanks a lot for the clarification. :)
    So is there a way that I can clease the data within the text file through Oracle or OWB? I have datatype mismatches in the data and most of my data is getting rejected because of that. The way I can think of, for solving this problem, is to create the external table with all fields with datatype varchar and then cleansing the data. But it doesn't seem very effecient plus it will get very complicated because I have almost 80-90 fields.
    Any help?
    Thanks and regards,
    Ann.

  • Cannot provide connect data for database target system CONFIG_DB

    Hello,
    I'm trying to install SP22 in NW04 but I'm getting an error on step 11 Deploy JDDI
    Cannot provide connect data for database target system "CONFIG_DB".
    Cannot connect to database: Cannot create class loaders for DB target system CONFIG_DB.
    ERROR      2008-10-01 17:51:09
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR      2008-10-01 17:51:09 [iaxxinscbk.cpp:289]
               abortInstallation
    MUT-02041  SDM call of deploySdaList ends with returncode 4. See output of logfile C:\Program Files\sapinst_instdir\PATCH\MSS\callSdmViaSapinst.log.
    callSdmViaSapinst.log:
    com.sap.sdm.apiint.serverext.servertype.TargetServiceException: Cannot provide connect data for database target system "CONFIG_DB".
    Additional error message is:
    com.sap.sdm.serverext.servertype.dbsc.DatabaseConnectException: Cannot connect to database: Cannot create class loaders for DB target system CONFIG_DB.
    Additional error message is:
    com.sap.sdm.util.classloaders.SDMClassLoaderException: Cannot create class loader for component com.sap.sdm.serverext.servertype.dbsc.SERVEREXT_DBSC_EXTERN(CONFIG_DB): Referenced loader #0 for component com.sap.sdm.serverext.servertype.dbsc.JDBC_DRIVER(D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\base.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\util.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\spy.jar) is not available.
    Additional error message is:
    com.sap.sdm.util.classloaders.SDMClassLoaderException: Cannot create class loader for component com.sap.sdm.serverext.servertype.dbsc.JDBC_DRIVER(D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\base.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\util.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WDA/DVEBMGS00/j2ee\jdbc\spy.jar).
    Additional error message is:
    com.sap.sdm.util.classloaders.SDMClassLoaderException: Cannot create class loader instance: Jar file #1 cannot be read: D:\usr\sap\WDA\DVEBMGS00\j2ee\jdbc\base.jar
    Oct 1, 2008 5:51:08 PM   Info: Summarizing the deployment results:
    Oct 1, 2008 5:51:08 PM   Error: Admitted: D:\Software\parches\del18_al22\J2EE-RUNT-CD\J2EE-ENG\JDD\SYNCLOG.SDA
    Oct 1, 2008 5:51:08 PM   Error: Aborted: D:\Software\parches\del18_al22\J2EE-RUNT-CD\J2EE-ENG\JDD\J2EE_JDDSCHEMA.SDA
    Oct 1, 2008 5:51:08 PM   Error: Admitted: D:\Software\parches\del18_al22\J2EE-RUNT-CD\J2EE-ENG\JDD\COM.SAP.SECURITY.DBSCHEMA.SDA
    Oct 1, 2008 5:51:08 PM   Error: Admitted: D:\Software\parches\del18_al22\J2EE-RUNT-CD\J2EE-ENG\JDD\XML_DAS_SCHEMA.SDA
    Oct 1, 2008 5:51:08 PM   Error: Admitted: D:\Software\parches\del18_al22\J2EE-RUNT-CD\J2EE-ENG\JDD\JMS_JDDSCHEMA.SDA
    Oct 1, 2008 5:51:08 PM   Error: Processing error. Return code: 4
    the spy.jar was there but some how it got deleted.
    Any ideas?
    Thanks

    For others who may be facing the same problem and would like to have a permanent fix, you can download the largest JDBC drivers from http://service.sap.com/msplatforms and refer to note 639702 and if your system is NW7.0 with EHP1 or SR3, you should also refer to note 1109274.

  • Start and End dates for users in Enterprise portal

    Hi Expert,
    I have to maintain start and end dates for around 200 users in 4 different Java systems. When I export the file of users it does not capture the validity fields. Is there a way/script to automate this? Otherwise I will have to do it manually.

    Hello
    Please check below URL for User Import Format:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/abdd83c3333205e10000000a42189c/content.htm?frameset=/en/48/a96f43db653206e10000000a42189c/frameset.htm&current_toc=/en/43/05e450d1cd6e95e10000000a11466f/plain.htm&node_id=2802&show_children=true#jump2822
    Regards,
    Tapan Goyal

Maybe you are looking for

  • Can I format and use a Hard Drive for my mac if removed from a Desk Top PC

    Hi All, I wondered if you can help with some advise. I have a mackbook and love it, will never go back to pc. But, I have a desk top pc with a fairly sizable Hard Drive in it. Even though I also have a WD external Hard Drive for my macbook back up, w

  • Small Mac network and backups

    I run a small office - four users - all using Macbooks. We have a lot of shared data, currently on a hard drive attached to a PC. I want to ditch the PC, which is on it's last legs, and move to an all Mac set up. Ideally I want something like an Airp

  • Macbook performance without the battery

    I use the macbook pro for editing video in Final cut pro, and sometimes when I am at home I remove the battery. and then I choose better performance, but the performance is not so good, i have constantly drop frames warning in the Final Cut. I've rea

  • HI pls help me in this urgency

    I am using Creative Sound Blaster 5. and I want windows 7 driver for that please help me to get it I am using windows 7 64 bit ultimate my system configuration is 4GB ram and 500GB hdd,Core2duo with 2.53Ghz... PLease help me I am very much need of it

  • IMac (Oct 2009) keeps shutting down and restarting when not being used.

    At least once a day, usually when not being used, I will see a dialog box that say computer had to restart due to a problem. data in problem report does not clearly state problem - many multi-page entries Have reinstalled OS 10.8.2 once this morning