This looks strange.
It is not FTP, it's HTTP.
[Done] OpenFTP not work on 6.21
Re: OpenFTP not work on 6.21
Seems like we need to force the protocol in libcurl if the 'ftp://' is not specified.
Could you try like this ?
Could you try like this ?
Code: Select all
serveur.s = "ftp://ftpperso.free.fr" ; - Force ftp://
user.s = "mylogin"
pw.s = "mypassword"
port.i = 21
If OpenFTP(0, serveur, user, pw, #PB_FTP_Passive | #PB_FTP_Debug, port)
Debug "Open"
If ExamineFTPDirectory(0)
While NextFTPDirectoryEntry(0)
Debug FTPDirectoryEntryName(0)
Wend
FinishFTPDirectory(0)
EndIf
CloseFTP(0)
Else
Debug "Not open"
EndIf
Re: OpenFTP not work on 6.21
Also could you paste your libcurl code which works so I can compare ?
Re: OpenFTP not work on 6.21
Ok, I could reproduce it here, it's fixed, thanks !