Search found 8 matches

by gmalchow
Tue Apr 01, 2025 2:31 pm
Forum: General
Topic: Weighing scales
Replies: 1
Views: 5285

Re: Weighing scales

What will the scales be connected to? PC, terminal, other? How will the scales be connected? USB, Serial Cable, Bluetooth, other? Will the user be required to interact in anyway?

I would equate capturing weights from scales to be similar to capturing barcode scans. In the end, it will be sent to ...
by gmalchow
Mon Mar 31, 2025 9:36 pm
Forum: General
Topic: SSH SFTP with UserName/Password Authentication
Replies: 7
Views: 21906

Re: SSH SFTP with UserName/Password Authentication

I believe that 5250 terminal sessions started from STRQSH or CALL QP2TERM are not true tty devices. Can you try using something like putty to verify you can connect and authenticate to the sshd (server)?

Assuming the SFTP client is running on an IBM i, and you are required to authenticate with a ...
by gmalchow
Mon Mar 31, 2025 1:51 pm
Forum: General
Topic: SSH SFTP with UserName/Password Authentication
Replies: 7
Views: 21906

Re: SSH SFTP with UserName/Password Authentication

You don't happen to have a dash in your password do you?

When you are connecting, are you using something like putty, or winscp? Is it possible that however you are connecting isn't a true tty?

Can the admin of the server offer any help?
by gmalchow
Mon Mar 17, 2025 2:54 pm
Forum: General
Topic: Ideas for Getting and Renaming files via SFTP
Replies: 2
Views: 22104

Re: Ideas for Getting and Renaming files via SFTP

It took me a while to get there, but I believe I have solved my problem.

I was too focused on getting the result of ls into an array.
Using glob was the solution to my problem:

set files [glob -type f *]

I am then able to do the following:
foreach file $files {
send "rename $file $env(ARCHIVE ...
by gmalchow
Fri Mar 14, 2025 9:37 pm
Forum: General
Topic: Ideas for Getting and Renaming files via SFTP
Replies: 2
Views: 22104

Re: Ideas for Getting and Renaming files via SFTP

I'll update this by saying I know what I want to do, but I'm not sure how to achieve it.
Here's what I want to to:
Connect to remove server.
Get all files from a directory on the remote server.
Once I have the files on the local server, I want to get each file name so it can be used to rename the ...
by gmalchow
Thu Mar 13, 2025 4:09 pm
Forum: General
Topic: Ideas for Getting and Renaming files via SFTP
Replies: 2
Views: 22104

Ideas for Getting and Renaming files via SFTP

Hello,

I'm working on migrating processes that currently use FTP to start using SFTP. In this scenario we are the client and will be connecting to a trading partners SSHD.

I am trying to determine what will be the best way to get all files in a directory and then rename or delete them on the SSHD ...
by gmalchow
Sat Aug 31, 2024 6:16 am
Forum: RPG IV
Topic: Help with Base64 Encoded image
Replies: 2
Views: 21951

Re: Help with Base64 Encoded image

Hi Scott,
Thanks for the warm welcome back. It has been a while since I've participated. I'm glad I did. I really appreciate your help. Your solution solved my problem.

I came to the conclusion that the data was base64 encoded because I couldn't get cvtch to work. This was the first time I've ever ...
by gmalchow
Fri Aug 30, 2024 9:57 pm
Forum: RPG IV
Topic: Help with Base64 Encoded image
Replies: 2
Views: 21951

Help with Base64 Encoded image

Hello,
I want to preface this with I feel like I am missing something very simple, thus, I am feeling pretty stupid right now.

I'm currently parsing an xml file that contains a base64 encoded value that is a png image file.

I'm unable to successfully create a properly formatted/encoded png image ...