File - Windows archive flag

I understand that under Windows there is an "archive" flag as an attribute and that this flag does not exist under Unix. Is there a way through pure java "not Runtime 'attrib' or something like that" to find the status of this flag?
Thanks to all.

I understand that under Windows there is an "archive"
flag as an attribute and that this flag does not exist
under Unix. Is there a way through pure java "not
Runtime 'attrib' or something like that" to find the
status of this flag?
Hi,
the orgination of the 'archive' flag was so that when a 'backup' program was run, only files marked as 'archive' would be backed up.
if doing an iterative backup which is usually the norm on a system thats doing ongoing backup maintenance, this sort of behavior would be 'normal'.
After the file was backedup, the 'a' flag would be removed.
Under unix i too haven't seen such a flag, but I would think there is similar functionality. I'll ask some people here and see what they say.

Similar Messages

  • File(windows)---- xi ---- file(unix)

    Hi All,
    Our scenario is FILE(windows)-> XI -> FILE(unix).
    Our System is configured on J2SE and we have configured a local adapter engine for this.
    We have 3 folders at Source End say Source, OK and NOT OK.
    Our requirment is to move file to OK if the file transfer is sucess else the file should move to NOT OK.
    File Transfer may be failed due to System crash, receiver down etc.
    We are trying on BPM but we are not sure about the Filename which is must and should be same at both the ends i.e. Source and Target.
    ( We have tried FTP XI FTP, with delete and archive mode. In delete mode even though the receiver is down file is getting deleted at Source End and in MONI we can see a sucess message, Archive is not working properly giving Exception "com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation not complete" in our Company Server may be a Support pack issue).
    We are looking for Ideas to implement this scenario.
    Thanks,
    Nagraju

    This seems to be pretty good scenario...
    You are 100% right that simple usage of delete and archive modes shall not meet your criteria.
    I cannot give you a solution but an idea in which angle you can think on...
    You must handle file acknowledgements and develop a module accordingly and use it to do so.
    I shall also try to work on this and let you know if any.
    Thanks
    Kiran

  • Log file switch (archiving needed)

    Hi,
    My database is on windows 2003, 10.2.0.4, recently I have been getting the following wait events on a regular basis, LOG FILE SWITCH (ARCHIVING NEEDED)...My redo files are 50MB with 5 groups...I have changed the log_archive_max_process from 2 to 3, but still the problem persists...can anyone help me regarding the same?As to what other changes can be done?and this happens only during the time of BOD and EOD.
    Thanks,
    AJ

    Hi Jonathan,
    Thanks for the reply, I am not worried abt the archiving thing for the time being,as my database was working absolutely fine before the new query that was added in the Begin of Day process. So I am trying to tweak the query.
    Folllowing is the procedure which gets called during the Begin of Day:
    CREATE OR REPLACE procedure Lms_Pr_Bod_Update_Tmp (p_import_type in number)
    as
    v_update_script varchar2(2000);
    v_upper_start_tag varchar2(10); -- san_22-apr-2009
    v_upper_end_tag varchar2(10); -- san_22-apr-2009
    begin
    declare
    cursor cur_update_tmp is
    select -- this query is for all of lov type of data
    a.destination_column_name, a.column_to_update , b.mapped_lov_syscode lov_syscode,
    c.destination_table_name,'LOV_DATA_SYSCODE' select_attribute,'LMS_LOV_DATA_MAP' select_table,
    'SOURCE_UNIQUE_ID' where_condition,'LOV_SYSCODE' lov_condition,'LOV' att_type
    from lms_import_column_info a
    inner join lms_attribute_master b
    on a.attribute_syscode = b.attribute_syscode
    and (a.column_to_update is not null or trim(a.column_to_update) = '')
    inner join lms_import_type_master c
    on a.import_type_syscode = c.import_type_syscode
    where a.import_type_syscode = p_import_type
    and b.mapped_lov_syscode is not null
    union all
    select -- this query is for all of dummy attribute
    a.destination_column_name, a.column_to_update , 1 lov_syscode,
    d.destination_table_name,c.attribute_name_internal select_attribute,
    case
    when b.applicable_for = 'INS' then 'LMS_ENTITY_INSTRUMENT'
    when b.applicable_for = 'ACC' then 'LMS_ENTITY_ACCOUNT'
    end case,
    b.attribute_name_internal where_condition,'1' lov_condition,'DUMMY' att_type
    from lms_import_column_info a
    inner join lms_attribute_master b
    on a.attribute_syscode = b.attribute_syscode
    and (a.column_to_update is not null and trim(a.column_to_update) <> ' ')
    and b.attribute_type = 'DUM' and dummy_column_type = 'FILT'
    inner join lms_attribute_master c
    on b.dummy_mapped_attribute_pk = c.attribute_syscode
    inner join lms_import_type_master d
    on a.import_type_syscode = d.import_type_syscode
    where a.import_type_syscode = p_import_type;
    begin
    v_upper_start_tag := 'UPPER('; -- san_22-apr-2009
    v_upper_end_tag := ')';          -- san_22-apr-2009
    for cr_update_tmp in cur_update_tmp loop
    if p_import_type = 4 and cr_update_tmp.column_to_update IN ('INSTRUMENT_SYSCODE','ACCOUNT_SYSCODE')
    and Upper(cr_update_tmp.destination_table_name) = 'LMS_ENTITY_TRANSACTION_TMP' then
    v_upper_start_tag := ''; -- san_22-apr-2009
    v_upper_end_tag := ''; -- san_22-apr-2009
    end if;
    v_update_script := 'UPDATE ' || cr_update_tmp.destination_table_name || ' A SET ' || ' A.' || cr_update_tmp.column_to_update || ' =
    (select ' || CR_UPDATE_TMP.SELECT_ATTRIBUTE || ' from ' || CR_UPDATE_TMP.SELECT_TABLE || '
    where ' || V_UPPER_START_TAG || CR_UPDATE_TMP.WHERE_CONDITION || V_UPPER_END_TAG || '=' || V_UPPER_START_TAG || CR_UPDATE_TMP.DESTINATION_COLUMN_NAME || V_UPPER_END_TAG ||
    ' AND ' || cr_update_tmp.lov_condition || ' = ' || cr_update_tmp.lov_syscode || ')';
    v_upper_start_tag := 'UPPER('; v_upper_end_tag := ')';
    execute immediate (v_update_script);
    end loop;
    end;
    end;
    Following is the flow of the query:
    1. A temporary table is created where in the updates can be made.
    2. Rows are inserted into ths table from the source table
    3. Updates are performed on this table
    4. Updates are then copied to the source table
    5. This procedure is alled twice, so before getting called for the second time, table is truncated.
    Thanks,
    AJ

  • I have Photoshop CS3 which I have used successfully for a number of years.  I now shoot pics with a Nikon DSLR D7100. When I try to open NEF files the following flag appears: "Could not complete your request because PS does not recognize this file.  What

    I have Photoshop CS3 which I have used successfully for a number of years.  I now shoot pics with a Nikon DSLR D7100. When I try to open NEF files the following flag appears: "Could not complete your request because PS does not recognize this file".  What do I need to do to open my NEF files??  Thanks.

    Thanks for the quick reply, CP
    FYI, the file is a photographic panorama based on several .CR2 photos taken in July, 2012 and processed in CS5's camera RAW/Photoshop.  Beyond the metadata, here are no fonts or text in the file.
    1.  I changed Maximize ...File Capability from "Never" to "Always" and the flattened file saved and loaded OK, though I can't figure why given Adobe's description of this option. "If you work with PSD and PSB files in older versions of Photoshop or applications that don’t support layers, you can add a flattened version of the image to the saved file...".  The file saved in this manner is ~8% larger and is not my preference as a routine since I've TB's of photo files.  By the way, out of thousands of .psd/.psb files, the one being discussed is the first to give me the error.
    2.  I've tried saving/reloading the file on another computer with Win XP Sp3/CS5...again with Maximize Capability OFF.  Same problem.  Turn ON Maximize Capability and it works.  As with the Win 8 machine, Bridge could neither create a thumbnail or read Metadata.
    3.  I've purged the Bridge Cache, made sure there were no old PS page files, reset PS preferences, and disabled my 2 plugins with no change in the problem.  Windows and Adobe progs are all updated.  Saving to a different HDD has no effect.
    The problem occurs on 2 computers (Win XP/Win 8), two versioins of Photoshop (CS5/CS6), and "Maximize" On/Off togles the problem.  My guess it is a bug in PSD processing routines.
    If I can't find a fix, will keep with Maximize ON and deal with the larger files that result...the cost of insurance, I suppose.
    Thanks again

  • When I select files to archive, they move from my file folder, but then I go to the archive folder and it says Empty? Where are those files?

    When I select files to archive, they move from my file folder, but then I go to the archive folder and it says Empty? Where are those files?

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • Archive flag

    When a file is copied to a backup drive as part of an import is its archive flag set? The issue is coordinating with third-party backup schemes.

    bgkaus --
    The article is a little bit misleading.  There is no default Project field included in Project Server 2010 called Archive.  If you are a Project Server administrator, you can create a custom enterprise project Flag field called Archive.  When
    your project managers complete an enterprise project, they click display the Project Information dialog (click Project > Project Information), set the Archive value to Yes in the Enterprise Fields section of the dialog, and click the OK button.  Then
    the PM must save and publish the latest changes to the enterprise project.  As the Project Server administrator can add the Archive field to any Project Center view and create a filter in the view to filter only those projects where the Archive value
    is set to No.  You can also create custom Project Center views containing the same filter as well.  Hope this helps.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Any Recommended Purging policy for files in Archive folder?

    Hi All,
    Is there any recommended purge policy for files stored under Archive folder after import from ready folder.We need to delete files that are piling up the Archive,but wondering is there any recommendations.
    Thanks

    Hi,
    Yes it is possible to delete the files under Archive folder. Just follow the below steps:
    1. Create a text file which contain the below lines:
    cd {MDM Installation Path}\Server\......\Archive
    del star . star /q
    Note: Instead of writing "star" use star symol
    E.g. C:\Program Files\SAP MDM 5.5 Server\Distributions\Test-MDM_MSQL\Test-Repo\Inbound\Remote_sys\Inbound_port\Archive
    2. Save the file with .bat extension.
    3. You can schedule this file using Windows Schedular. For this go to Start -> Programs -> Accessories -> System Tools -> Scheduled Tasks and create a new one by double clicking on it. Select the bat file created and accordindly schedule it like daily, weekly etc.
    4. Now whenever the task is due it automatically executes the commands written in bat file and deletes all the files from Archives folder :).
    Its working fine at my end...
    Kindly Reward points and update the thread status
    Regards,
    Jitesh Talreja

  • File window not updating modif. dates – and mysterious parallel universe discovered

    The day started innocently enough when I tried to edit some <meta> content on a site I'm building and then saved my work. Little did I know...
    DW's "File" window refused to update the "Modified" column of the files I worked on.  Open and closing the files shows that my changes have been recognized and incorporated into the HTML, and the files show up with correct modification dates in Finder (I'm on a Mac). They just won't change date in DW.
    When I upload the modified-but-not-redated-in-DreamWeaver files to my remote site, they appear with the incorrect dates on the server, but a text comparison in DW shows that my local and remote files are synched.
    Now for the truly weird part: when I run the site in Safari (after flushing its cache), a Source check shows the old code is still operational.  (I also changed the titles of the pages in question to quickly confirm which version was being displayed. This check shows the old title displayed.)
    Here's the site address:  http://www.bearriverbooks.com/index.html
    Now for the truly, truly wierd part.  I have a parallel site ( http://www.queen-of-the-northern-mines.com/index.html ) which contains copies of the bearriverbooks.com files. These files, too, show the wrong modification dates in DW's "Files" window and on the remote server – but they display correctly. Anyone who wants to check can compare page titles, which are longer in the later pages with correct code.
    I checked the remote site addresses in the "Manage Sites..." center.  I have not crossed my wires there (though I can smell a few arcing badly in my brain.).
    The players:  2.8 GHz Intel Core i5 27" iMac running Mac OSX 10.6.7  /  Dreamweaver CS5 v.11.0 Build 4964
    Thanks in advance,
    Richard Hurley
    Grass Valley MultiMedia

    I am having the same issue on a Mac 3.4Ghz i7 running Mac OS 10.7.  I have Dreamweaver CS 5.5 v.11.5 Build 5344.
    I have a linux webserver, running ProFTPD v.1.3.1
    Both my mac and my linux server are set to the correct date and time.
    And ls on the linux servers tells me the files have the correct modified date and time, but this is getting lost in translation to dreamweaver when I view the remove server in the File tab.
    Any help appreciated.

  • How do I delete movies from iTunes library? I have moved them to the iCloud and now only seem to have the option to hide the icon in iCloud.  I am sure I chose poorly at the 'keep file' window.  Please help. My Brain hurts- 18   movies need to go-.

    How do I delete movies from iTunes library? I have moved them to the iCloud and now only seem to have the option to hide the icon in iCloud.  I am sure I chose poorly at the 'keep file' window.  Please help. My Brain hurts… 18 plus movies need to go….  Thank you.

    Instead of removing the music from the cloud or the iTunes library why not shuffle your music using a Smart Playlist which excludes the holiday music, or tracks that are not checked. For example, use this very simple Smart Playlist:

  • "Save Pdf File" window

    Hi,
    I have an Access 2000 aplication which works fine with Acrobat 8.1.2 Pro
    -you select a product name
    -a PDF file is generated from this product's "Report"
    -and it's sent by mail
    It is a VBA code which stores: folder name, file name, printer name into Windows Registry
    I have migrated the file to Access 2007 and now there is a problem.
    It opens a "Save Pdf file" window and asks me to select a folder and to enter a file name.
    Seems that name and folder retrieve from the registry is not working.
    What is it? What can I do to resolve the problem? Any idea?
    Thanks,

    I searched without success ...How to find it?
    I have this:
    ' Put the output filename where Acrobat could find it
    bSetRegValue HKEY_CURRENT_USER, _
                     "Software\Adobe\Acrobat Distiller\PrinterJobControl", _
                     Find_Exe_Name("application", "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"), _
                     sOutputFolder & "\\" & sPDFName

  • Two file windows disappear if I use extend screen to compare 2 lessons

    I use a laptop and an extra screen in "Extended" mode. I drag out one file window from Captivate and maximise it to the full screen size. I drag out the other file window, and make it as large as possible on the laptop.
    When I move to another app (e.g. Outlook) , I lose both these file windows and can't find them again without closing them and reopening them. Usually, if Word is in the extra screen, it still shows as a window in the task bar. This does not happen for the Captivate file windows despite having the standard functionality window controls.
    My question is where in Captivate can you bring back these files when they disappear? I checked the windows menu but to no avail.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/

  • Download PDF File from Archiv to SAP Application Server

    Hi,
    I need to download the PDF file from an NAST-Dataset (how is stored from the message via SAP ArchivLink) to the SAP Application Server.
    1) At first i read the Archiv-Link data via function module WFMC_GET_ARCHIVE_OBJECT_TYPE
    2) Then i get the Connection-Infos via function module ARCHIV_GET_CONNECTIONS_INT
    3) Now i read the file from archiv as table via function module ARCHIVOBJECT_GET_BYTES
    4) Save to the SAP Appl.Server via:
       - OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE
       - LOOP and TRANSFER lf_archivobject TO ld_dpfad.
       - CLOSE DATASET ld_dpfad.
    In the dialog of NAST-Dataset (Messages) i can open the PDF-File without any errors (display originals). But after the filetransfer to the SAP Appl.Server i get the following errors during the file opening dialog from Adobe Acrobat Reader:
    - the embedded font u201CArialu201D cant to be extract
    - not enough data for the picture
    The reader can display the PDF-File but only without the picture (Logo) and with alternative font.
    The same transfer from archiv and sending as an attachement to the BOR-Object via function module SO_DOCUMENT_INSERT_API1 works very fine and without any errors.
    Can any one please help me to solve this Issue?
    Thanks in Advance,
    Thomas

    Hello Keith,
    Many thanks for your answer.
    In the past i didnu2019t need the BINARCHIVOBJECT-Parameter and so i overlook this option.
    Now, the File looks a little bit different, but only in the STREAM-section.
    During the Fileopen-Dialog i get only one message now - "not enough data for image" and the image will not displayed. The rest seems to be correct.
    The relevant coding is now:
      ld_doc_typ = pf_connections-reserve.
      CALL FUNCTION 'ARCHIVOBJECT_GET_BYTES'
        EXPORTING
          archiv_id                = pf_connections-archiv_id
          archiv_doc_id            = pf_connections-arc_doc_id
          document_type            = ld_doc_typ
          length                   = ld_length1
          offset                   = ld_offset
        IMPORTING
          binlength                = ld_length                        
          offset                   = ld_offset
        TABLES
          binarchivobject          = lt_binarchivobj                  
        EXCEPTIONS
          error_archiv             = 1
          error_communicationtable = 2
          error_kernel             = 3
          OTHERS                   = 4.
    Zieldatei zum Schreiben öffnen
        OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE.
    Inhalte in Zieldatei schreiben
      LOOP AT lt_binarchivobj INTO lf_binarchivobj.
        TRANSFER lf_binarchivobj TO ld_dpfad NO END OF LINE.          
      ENDLOOP.
    Zieldatei schließen
      CLOSE DATASET ld_dpfad.
    Where is the error for the image data?
    Ciao Thomas
    Push up by: Thomas Engler on May 3, 2010 4:54 PM

  • How to Back Up User Files (Windows 7 64-bit ) in HP laptop?

    He everybody!
    I have a HP laptop
    Product Name: HP Pavilion dv6-6093ex
    Product Number : LM610EA#A2N
    I have  read 'How to Back Up User Files (Windows Vista or XP)'
    Back up files with the HP Recovery Manager
    The HP Recovery Manager is used to back up user files to an external USB storage device.
    1-Boot to the recovery partition 1. by pressing F11 .
    2. Click Advanced Options .
    3. Click Backup computer files .
    4-Select the type of files you need to back up from the list and then click Next . It will take several
    minutes to locate all of the files, no matter where they are on the hard drive.
    5. Select the destination device (external USB hard drive or a USB flash drive/Memory Stick).
    6. Click Next to start the backup.
    New files will be backed up. Depending on the number of files located, it could take an hour or more to backup
    the file.
    However, When I have done those steps I encountered these:
    First: I didn't see any option to save the files in an external hard disk or even another partition other than Windows partition.
    Second: I haven't find any option to back up my files in other partition other than Windows partition, I have let Recovery manager proceed to save at any place it prefers. After that, I found that Recovery Manager gave me an error during copying the files :
    Recovery Manager failed in finishing backup files, error: FFFFFF14, although the percentage of progress was %67
    Also, I have enough free space on Windows partition.

    Would it be quite good if anyone could take some time out to reply me?

  • Since upgrading to windows 8.1 I can not see any local files in the files window.

    I have recently upgraded to windows 8.1 and can no longer see my local files in the files window. All remote files for all remote sites are visable.
    If I change sites under local view get error thet dreamweaver can not update cache

    Thanks Nancy
    It certainly worked in windows 8.
    I have deactivated and am trying to reload software inside of windows 8.1.
    Will let you know.
    Thanks again
    Terry
    Date: Fri, 1 Nov 2013 12:13:57 -0700
    From: [email protected]
    To: [email protected]
    Subject: Since upgrading to windows 8.1 I can not see any local files in the files window.
        Re: Since upgrading to windows 8.1 I can not see any local files in the files window.
        created by Nancy O. in Dreamweaver support forum - View the full discussion
    I honestly don't know if DW CS5 is compatible with Win 8.1.  The OS compatibility FAQ only mentions DW CS6 & CC.
    http://helpx.adobe.com/x-productkb/global/windows-8-1-compatability.ht ml
    Maybe someone else can shed more light on this.
      Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5807551#5807551
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5807551#5807551
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5807551#5807551. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How do i re install the file windows root\system32\hal.dll from a black screen

    I was given two of the exact same computers a compaq presario c500 c501nr. One had major cosmetic issues and the other the mother board was no good so i put them together to make one good one. everything went well except i now have a black screen on boot up that says [please re-install a copy of this file<windows root>\system32\hal.dll.]  how do i go about finding that and installing it? it runs windows vista

    if you follow all 7 steps you can directly download a trial here: http://prodesigntools.com/photoshop-elements-10-direct-download-links-pse-premiere-pre.htm l
    and activate with your serial number.
    if you have a problem downloading, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com

Maybe you are looking for