Automic Workload Automation

 View Only
Expand all | Collapse all

File Transfer Job (JOBF)

  • 1.  File Transfer Job (JOBF)

    Posted Jan 31, 2020 05:16 PM
    Edited by Kenneth Hutchins Jan 31, 2020 05:16 PM
    Is there an option within a File Transfer Job to allow only new files place in the source directory to transfer to the destination directory?


    We do not want the files to be deleted from the source directory and have tried all three options for If file exists at destination

    • Cancel transfer

    If the file already exists in the target system, the transfer is canceled.

    • Overwrite file

    If the file already exists in the target system, the file is replaced by the one that is being transferred.

    • Append file
    If the file already exists in the target system, the file that is being transferred is appended to the existing one.

    Cancel transfer works, it doesn't copy the existing files but it throws errors which cause the UC4 Job to fail.

    Overwrite/Append cause the job to run too long and also increases the size of the existing files moved.




  • 2.  RE: File Transfer Job (JOBF)

    Posted Jan 31, 2020 07:25 PM
    For speed and efficiency, I sometimes use the DOS robocopy instruction.  It has a "mirror" feature that assures the content of the source and target folders match.  It will only copy files that are missing or have been changed.  And it will also delete files that no longer exist in the source folder.

    I don't know if that would work for your use-case though.  It requires the source and target be available as network shares.

    ------------------------------
    Pete
    ------------------------------



  • 3.  RE: File Transfer Job (JOBF)

    Posted Jun 16, 2022 09:45 AM
    hey PETER ,

    is there any way to use robocopy in automic , 

    i use xcopy and it's take long time

    thanks


  • 4.  RE: File Transfer Job (JOBF)