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



Hi all

I would need help in configuring As400 as client for connecting to an FTP
server .. what we have done :



We have this CLP




PGM



STRQSH CMD('/QOpenSys/bin/sftp -b+

/tmp/myusr/Test_SFTP.txt FTPSRV')



MONMSG MSGID(QSH0000) EXEC(DO)

SNDMSG MSG('File transfer failed') TOUSR(myusr)

ENDDO



ENDPGM



This is the Test_SFTP.txt




************Inizio dei dati****************

user password

sendpasv

ascii

NAMEFMT 1

lcd /tmp/myusr

cd out/

mget EDI_XXXXX*

QUIT



When I call the clp, I receive :



ServerPermission denied (password,publickey).

Connection closed



Can you help me to find where i'm wrong



Thanks in advance


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.