|
First let me say I don't know a lot about SFTP. It is not something we use a lot around here.
My understanding on how the command in the CL program is supposed to work is, once the connection is made the script on my IFS which is called. That scrip is /BankName/scriptname.sftp. For clarity purposes , I should have called it /IFS_DIRECTORY/scriptname.sftp. Sorry for the confusion.
scriptname.sftp contains the lines below.
get "FILE NAME.*" /IFS_DIRECTORY/download.txt
exit
No other changes have taken place on the system. Like I said before, I can copy and paste the command from the CL program directly into the QP2TERM window and it works. It fails every time when running from the CL.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.