If you're open to commercial options, download a FREE 30-day trial of our Automate software.
It can be used to automate SFTP transfers, but also can schedule and log the jobs and submit IBMi commands as needed for post-processing.
Email notification on any failure is also automatic.
There are a ton of other Windows automation things you can accomplish besides FTP.
I like to call it CL programming for Windows because everything is prompted.
If you need help getting started with the trial let me know.
http://www.helpsystems.com/automate
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 3
date: Sun, 7 May 2017 01:16:51 +0000
from: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
subject: Replacing FTP PC client scripts to SFTP to put PC file to a
i5 library.
I need to replace all our FTP PC client scripts to SFTP.
I'm testing with WINSCP.
SFTP script is working, but only to IFS.
1) I'm struggling to find the option so the file will be sent to a library.
Cd /pauls - result in IFS
Cld - invalid command
2) I would also like to show the SFTP transfer as FTP did.
The person running the script can confirm if the file was sent successfully.
SENDCABLE.bat
WinSCP.exe /script=SENDBRC.scp /log=SENDBRCLOG /ini=nul pause
SNDBRC.scp
open s
ftp://user:password@hostname/ -hostkey=* cd /pauls put -transfer=ascii c:\lockbox\brc\lkbpcs.lkb
Any thoughts from the group.
I will be evaluating other script options.
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/
As an Amazon Associate we earn from qualifying purchases.