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

I have a batch CL function which sends a .ZIP file to our client via
SFTP.I have retrieved the size of the .ZIP from our IFS by using QSH to
‘ls -l’ the details
and redirect this output to a data area from which I can extract the size.


I now need to retrieve the size of the same file from our client (as part
of our customer SLA) by using SFTP or QSH or QP2TERM to ensure that the
transfer
completed successfully by comparing the file sizes.

Does anyone have any help/examples on how to run an 'ls' command on the
clients machine and get the output back in batch ?
There seems to be an answer on this thread -
http://www.iprodeveloper.com/forums/aft/55771 but unfortunately I do not
really understand how it works.

Any help/examples will be very gratefully received.

Thankyou

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.