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



I have got autoexpect to create a script.exp file.
yep, many, many suggestions.
I have, so far, tried the first one:
set timeout -1

testing that, it appeared to work, in that I was able to receive the
complete list of 30 files.

so my launch command string is:
chgvar var(&cmd) value('PATH=$PATH:/QOpenSys/usr/bin+
:/QOpenSys/usr/local/bin && +
set timeout -1 && +
expect -f /tmp/xxxxx/xxx/ExpectEscript')
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) +
VALUE('FILE=/tmp/xxxxx/xxx/ExpectEexpect.log') +
REPLACE(*YES)
qsh(&CMD)

the actual script is just the spawn of sftp,
change directory,
lcd (just to have a log)
mget
quit


On Wed, Feb 15, 2023 at 1:09 PM Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx>
wrote:

The modern firewalls often do packet inspection, that’s why many times the
IBM i groups won’t download, the firewall thinks it sees a program(likely
true) and boom.

Jim Oberholtzer
Agile Technology Architects



On Feb 15, 2023, at 12:02 PM, Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Jim,

Am 15.02.2023 um 17:07 schrieb Jim Oberholtzer <
midrangel@xxxxxxxxxxxxxxxxx>:

Consider also checking your firewall settings. Many firewalls will
suspect nefarious transfers when many small files or one very large one
goes across. It happens so often with the newer firewalls it's getting to
be a knee jerk reaction.

I highly doubt that. The connection is encrypted and I'm not aware of
firewalls being aware of MITM cracking an ssh connection. Ssh is not the
same as ssl.

They *could* use heuristics to guess about the type of traffic when
watching packet rates and sizes, though.

:wq! PoC



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.