I don't understand why, but impossible to connect to my IONOS server with the team example code

Then that works perfectly with FileZilla and WinSCP

Code: Select all
If OpenFTP(0, "sftp://212.227.XXX.XX", "XX", "XXXXXX", 0, 22)
Result = SendFTPFile(0, OpenFileRequester("Choose a file to send", "", "*.*", 0), "purebasic_sent.file", 1)
Repeat
Debug FTPProgress(0)
Delay(300)
Until FTPProgress(0) = #PB_FTP_Finished Or FTPProgress(0) = #PB_FTP_Error
Debug "finished"
Else
MessageRequester("Error", "Can't connect to the FTP server")
EndIf
Have a good day