Pushing and Pulling Files via FTP

 6 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
DaveW
New Member Send Private Message
Posts: 3
New Member
We have a need to push and pull files via FTP using PFI to and from external client servers.  What is the easiest way to do that?
John Henley
Send Private Message
Posts: 3351
For pulling files, you can use a flow with a system command node that does the FTP get, or you could have a shell script that does it, and drops the file(s) into directory, and use the ScanFile client to consume them.

For pushing files, you can use a flow with a system command node that does the FTP put.

I tried using the WebRun node to do FTP, but it doesn't work. You might be able to create a custom activity to wrap an FTP client it.
Thanks for using the LawsonGuru.com forums!
John
Mark Jorgenson
Basic Member Send Private Message
Posts: 9
Basic Member
We just completed a project where we FTP files to an external hosted solution provider. We used PFI and custom Design Studio triggers to extract data from Lawson, configure it to the providers specs, write a file to disc and then FTP it. This happens for every PO receipt release, WO release and BL invoice creation. We've sent them 19,000+ files since November with no problems whatsoever.
TimC
Veteran Member Send Private Message
Posts: 84
Veteran Member
Mark,
How did you implement it? I'm just getting started with that now. I see there is a FTP (SFTP) node and I have a key. However, there is no configuration for the key file...
TimC
Veteran Member Send Private Message
Posts: 84
Veteran Member
I actually need to push to the vendor.
steve finger
Veteran Member Send Private Message
Posts: 47
Veteran Member

i've used the ftp node to move files around...that's what it's for....

each configuration is allowed only one ftp description, so you have to have a configuration set for every machine you want to involve in an ftp.  when describing the file names, you don't start at the root - you start at the ftp home.

JimY
Veteran Member Send Private Message
Posts: 510
Veteran Member
We went a different route rather than set up a separate configuration for each FTP we installed putty on the Landmark server and use the system node to execute a bat file or Perl script to ftp files.