Hi ,
I m trying to retrieve data using ssl
Using ftp_implicit
ftp = FTP_open( 'address
: 22
: 100
: FTPS_IMPLICIT
: FTPS_PRIVATE
: FTPS_PRIVATE );
I got the following error
DSPLY gsk_secure_soc_init: Peer not recognized or badly formatted
if i change it FTPS_TST the server reply with
0: SSH-2.0-WS_FTP-SSH_9.0.3.65 that is not recognized as a valid reply
"Not a valid FTP reply line"
Can someone help
Thanks for your support
ftp ssl
-
Scott Klement
- Site Admin
- Posts: 945
- Joined: Sun Jul 04, 2021 5:12 am
Re: ftp ssl
The site you are connected to uses the SSH protocol rather than FTP. You won't be able to use FTPAPI with this site.
SFTP = A tool similar to FTP that uses the SSH protocol. This is not FTP, it is just an interface for SSH that works similarly.
FTPS = FTP over SSL. This is actually FTP, and will work with FTPAPI.
SFTP = A tool similar to FTP that uses the SSH protocol. This is not FTP, it is just an interface for SSH that works similarly.
FTPS = FTP over SSL. This is actually FTP, and will work with FTPAPI.