× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In case anyone is interested I published a couple of Python script samples that can upload and download via SFTP.

https://github.com/richardschoen/PythonSamples/tree/master/ibmi

These can be easily integrated with a CL or RPG program call using the QSHEXEC command in my QSHONI library.
https://github.com/richardschoen/qshoni


Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
----------------------------------------------------------------------

message: 1
date: Wed, 30 Nov 2022 01:41:56 +0100
from: Patrik Schindler <poc@xxxxxxxxxx>
subject: Re: SFTP examples

Hello,

Am 30.11.2022 um 00:03 schrieb dr2@xxxxxxxx:

It would be SO MUCH EASIER if IBM would just FINALLY make SFTP a BASE OS/400 command...kinda like FTP is....etc...

Yap. This is true for more than just sftp. But because the CL environment is so very different compared to Unix/Linux (where the majority of OpenSource functionality stems from), porting would involve major rewrites of that software. And because the original authors usually aren't interested in code complication (many, many #ifdef's) because of just one very alien (to them) platform, they're reluctant to integrate such an enhancement back into the official source tree. That means, incorporating security fixes and new features from the original authors needs to be done on a regular base. Work without end, and who pays (IBM) for that ongoing effort? Not that IBM couldn't afford to have some extra work, IMHO.

I have tried to properly port some minor stuff to OS/400, but it's a mess and a *lot* of work. And most often some basic requirements must be met first, such as having OpenSSL ported as a true service program so be usable by other ported applications. Amongst other "basic" libraries. So it's in a way recursive with much much work before the first "reward" ? "It works! Cool!" compensates for all the hassle. At least from my hobbyist view. And with my special obstacle "V4R5" adhering to just C90. ;-)

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.