Search found 7 matches

by cea_1964@yahoo.com
Thu Mar 07, 2024 12:02 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 604

Re: Batch CL for sFTP with Password Authentication

I have it working. The password contained a "$", which was sending some type control break, or being converted, or.......whatever. In the log, I noticed the password was truncated at the position where the "$" was located. So, I put single quotes around the pw in the password scr...
by cea_1964@yahoo.com
Wed Mar 06, 2024 7:15 pm
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 604

Re: Batch CL for sFTP with Password Authentication

Also, the key added to our known host was an id_ecdsa. Should i also have an id_ecdsa key pair in .ssh?
by cea_1964@yahoo.com
Wed Mar 06, 2024 7:05 pm
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 604

Re: Batch CL for sFTP with Password Authentication

Do you think the Expect tool would resolve my issue?
by cea_1964@yahoo.com
Wed Mar 06, 2024 3:35 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 604

Batch CL for sFTP with Password Authentication

I received a new request to send files via sFTP to a new trading partner. After copying a previous setup, and changing the scripts, I continue to get Permission Denied. Key is in /home/skxftp/.ssh - myftp.dachser.com,195.145.171.89 ecdsa-sha2-nistp256 AAAAE....... The script is stored in /home/skxft...
by cea_1964@yahoo.com
Fri Sep 16, 2022 3:26 am
Forum: HTTPAPI
Topic: HTTP_STMF PUT
Replies: 4
Views: 5987

Re: HTTP_STMF PUT

Yes, I was calling from a command line. All is well for now!

Thanks for the help! And everything!

Hope to see you in Denver!

Chris
by cea_1964@yahoo.com
Fri Sep 16, 2022 12:57 am
Forum: HTTPAPI
Topic: HTTP_STMF PUT
Replies: 4
Views: 5987

Re: HTTP_STMF PUT

Hi Scott, Tried both VARCHAR and %Bif, same results. It's interesting that if I hard code the IFSSnd, it works! IFSRcv = '/AWS_S3/WORKFILE.TXT'; //IFSSnd = '/AWS_S3/' + %Trim(pIFSFileName); IFSSnd = '/AWS_S3/318039_7101_20220912130444.CSV'; monitor; http_stmf('PUT':%Trim(url):%Trim(IFSRcv):%Trim(IFS...
by cea_1964@yahoo.com
Wed Sep 14, 2022 2:53 am
Forum: HTTPAPI
Topic: HTTP_STMF PUT
Replies: 4
Views: 5987

HTTP_STMF PUT

Good evening..... I am using HTTP_STMF to PUT .csv's to AWS' S3 buckets. The issue I am having involves the parameters. Note: Trailing portion of the URL is the file name. Per AWS. In my RPG if I "DCL-S URL Char(124);" the process works fine since my complete url is 124 characters. If I ma...