IPA File Transfer Nodes

 6 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Bob Canham
Veteran Member
Posts: 217
Veteran Member
    We are working on moving from ProcessFlow to Process Automation and one of the new nodes I'm trying to find out more about is the File Transfer node.  We have several flows that use a file that is generated remotely.  Right now we have a script that runs on AIX to transfer the file.

    My main issue is that is seems like there aren't any options to delete the source file after transfer.  Has someone else done this or is that a limitation of the node?
    Dwightd
    Basic Member
    Posts: 12
    Basic Member
      Try the FiileAccess node to do all sorts of CRUD with files.
      Bob Canham
      Veteran Member
      Posts: 217
      Veteran Member
        How do you connect the file access node to a remote server? I tried to set it up in the configuration set, but it seemed to want an LSF installation on the other end.
        Kyle Jorgensen
        Veteran Member
        Posts: 122
        Veteran Member
          By "delete the source file after transfer" I assume you mean the file on the remote machine that you're transferring to the IPA machine. That's outside the scope of the file transfer node (which is really just FTP).

          We're not on IPA yet, so there may be more functionality with the "FileAccess" node than there is with PFI. I'll assume that it functions pretty much the same as the PFI node. If so, then I wouldn't recommend using it. That node is good for writing to a file, or reading the entire contents of a file, or checking if a file exists...but not much more than that.

          The real power is in the "System Command" node. With that you can do anything you can do on the command line from within a flow. So in the case of a remote machine, you could take this approach: Setup a SAMBA share (if using Unix) or mount the remote system into the IPA machine's filesystem so it 'looks' local. Then you can copy, delete, etc the file on the remote machine.

          Outside of that approach, you're back to executing scripts from IPA that will do the work for you.
          Terry P
          Veteran Member
          Posts: 234
          Veteran Member
            We have the same issue. We are an Infor Managed Services customer and needed a way to move files from our local server to the LSF server. They provided us with a utility program called MS100 - Managed Services File Transfer. We used it to pull files from another third parties FTP site. It had an option called "Post Action" that would delete the file from the "source location". It was very handy.

            Now that we're on IPA I wanted to incorporate this functionality using the FTP node. I can push and pull files both directions. I can use the system command to move/delete from my side. But there is no way to issue the FTP "delete command". Sounds like this should be a Transfer Option on this activity. Anyone else know of a work around?
            Terry P
            Veteran Member
            Posts: 234
            Veteran Member
              After I posted this I got to thinking - what about trying to perform an ftp through a browser using Web Service or Web Run? Should be able to issue any command including a delete. Anyone with experience with this?
              mikeP
              Veteran Member
              Posts: 151
              Veteran Member
                Terry,
                I used a SYSCMD node with this command
                DEL ""

                The server name is defined in !strFtpSrcShare using a UNC. You'll need to double up the "\", e.g. \\\\server.domain.com\\share.