530/534 FTP Credentials only accepted
Posted: Fri Aug 20, 2021 9:38 pm
Hi,
I need to change the connenction of an ftp-routine because the other side is going to use new ftp-servers.
They state:
- connect via TLS/SSL explicit encryption, no plain FTP is allowed
- there is no need of any certification.
We run all our applications on I-series.
At the moment I use following code (old situation)
Use Builtin(JSM_COMMAND) With_Args('CONNECT HOST(ftp.aaaa.com) protection(*yes)') To_Get(#JSMSTS #JSMMSG)
Use Builtin(JSM_COMMAND) With_Args('LOGIN USER(ftpuser) PASSWORD(password)') To_Get(#JSMSTS #JSMMSG)
After the login command, I get following message:
LOGIN command failed : 534 Credentials only accepted over an encrypted connection (use PROT first)
Does anyone know what specs to use?
Thanks, Jacques
I need to change the connenction of an ftp-routine because the other side is going to use new ftp-servers.
They state:
- connect via TLS/SSL explicit encryption, no plain FTP is allowed
- there is no need of any certification.
We run all our applications on I-series.
At the moment I use following code (old situation)
Use Builtin(JSM_COMMAND) With_Args('CONNECT HOST(ftp.aaaa.com) protection(*yes)') To_Get(#JSMSTS #JSMMSG)
Use Builtin(JSM_COMMAND) With_Args('LOGIN USER(ftpuser) PASSWORD(password)') To_Get(#JSMSTS #JSMMSG)
After the login command, I get following message:
LOGIN command failed : 534 Credentials only accepted over an encrypted connection (use PROT first)
Does anyone know what specs to use?
Thanks, Jacques