× 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.



Hello Don,

Am 15.02.2023 um 10:20 schrieb Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>:

This is all client driven so difficult to get an interim step.

I see.

Client receives/downloads files from a number of agencies/suppliers and saves to local file system.

File is then transferred to ftp server using WINSCP (Great tool)

The IBMi picks up the file and processes.

Apparently (Win)SCP and SFTP transfers lack ASCII mode support to do a proper upload. I'm somewhat surprised. Apparently the developers assumed only binary transfers to take place.

In early implementations of command line FTP clients, ASCII mode was default, so there was a lot of complaints about corrupted image files when uploading web site data. Despite that issue being the result of "not knowing". Later clients used binary mode as default.

Probably the devs were convinced that "nobody" uses ASCII mode transfers nowadays anymore. Or they did not foresee a port to Windows where line endings differ.

And suggesting to the user to run some steps to correctly format the file is not really an option as they will either forget to do it or complain about having to do it.

So our work around will do for the time being.

If the extra blank doesn't hurt, it seems the way to go, yes.

Appreciate your feedback

You're welcome. Glad to have helped.

:wq! PoC




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.