Search found 7 matches
- Thu Mar 07, 2024 12:02 am
- Forum: General
- Topic: Batch CL for sFTP with Password Authentication
- Replies: 5
- Views: 590
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...
- Wed Mar 06, 2024 7:15 pm
- Forum: General
- Topic: Batch CL for sFTP with Password Authentication
- Replies: 5
- Views: 590
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?
- Wed Mar 06, 2024 7:05 pm
- Forum: General
- Topic: Batch CL for sFTP with Password Authentication
- Replies: 5
- Views: 590
Re: Batch CL for sFTP with Password Authentication
Do you think the Expect tool would resolve my issue?
- Wed Mar 06, 2024 3:35 am
- Forum: General
- Topic: Batch CL for sFTP with Password Authentication
- Replies: 5
- Views: 590
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...
- Fri Sep 16, 2022 3:26 am
- Forum: HTTPAPI
- Topic: HTTP_STMF PUT
- Replies: 4
- Views: 5986
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
Thanks for the help! And everything!
Hope to see you in Denver!
Chris
- Fri Sep 16, 2022 12:57 am
- Forum: HTTPAPI
- Topic: HTTP_STMF PUT
- Replies: 4
- Views: 5986
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...
- Wed Sep 14, 2022 2:53 am
- Forum: HTTPAPI
- Topic: HTTP_STMF PUT
- Replies: 4
- Views: 5986
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...