Forum Discussion

dmiller's avatar
dmiller
Former Employee
7 years ago

Archiving Files

Submitted by @stodoroska from Interworks


This pipeline reads the file from source location, writes it to the archive location, and after that deletes the files from source location.

Configuration

Source and Archive location are configured using pipeline parameters.

Sources: Files on a File sharing system
Targets: Files on a File sharing system
Snaps used: File Reader, File Writer, and File Delete

Downloads

Generic.Archive.slp (5.9 KB)

10 Replies

  • christwr's avatar
    christwr
    Contributor III

    Depending on the protocol, there is also a File Operation snap you can use to just “move” the file from the source to destination location.

    • stodoroska's avatar
      stodoroska
      New Contributor III

      Yes, but it is not working with smb server.

      • christwr's avatar
        christwr
        Contributor III

        Supported file protocols are: local file (file:///), FTP, SFTP, S3, WASB, and WASBS.

  • sjakathi's avatar
    sjakathi
    New Contributor II

    Is it possible to move the file from one server’s sftp location to another server’s sftp location using the file operation snap. or is there any other way we can achieve.

      • SpiroTaleski's avatar
        SpiroTaleski
        Valued Contributor

        @ash42

        File Operation - supported file protocols are: local file (file:///), FTP, SFTP, S3, WASB, and WASBS.

        If you want to move files from one to another location on the same server, then you can use File Operation Snap.

        File Operation Snap can’t be used, If you want to move files between different servers. In that case, you should use File Reader(reading the file from source server) and File Writer(writing the file to target server)

        Regards,
        Spiro Taleski