Hi,
When running the following code:
var items = ftp.GetItems("ftps://user:pass/127.0.0.1/some folder");
on a local FileZilla FTP server (v0.9.43 - newest version available) i get the following exception (copyied it from your log file):
2014-04-22 11:18:52.767 DEBUG Ftp(1)[10] Info: Error while starting data transfer: Rebex.Net.FtpException: The server has closed the connection. ---> Rebex.Net.TlsException: Secure connection was closed by the remote connection end. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Rebex.Net.ProxySocket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Rebex.Net.EZ.CD(Int32 A, Boolean B)
at Rebex.Net.EZ.DD()
at Rebex.Net.EZ.ED()
--- End of inner exception stack trace ---
at Rebex.Net.EZ.ED()
at Rebex.Net.TlsSocket.Poll(Int32 microSeconds, SocketSelectMode mode)
at Rebex.Net.JJ.ZB(Int32 A)
at Rebex.Net.JJ.XB(Int32 A)
--- End of inner exception stack trace ---
at Rebex.Net.JJ.XB(Int32 A)
at Rebex.Net.JJ.BC(String& A, Int32 B)
at Rebex.Net.JJ.DC(Int32 A)
at Rebex.Net.JJ.DC()
at Rebex.Net.Ftp.ZK(Int32 A, Boolean B)
at Rebex.Net.Ftp.ZK(Int32 A)
at Rebex.Net.Ftp.KL(String A, Boolean B, WJ C, DH D, Int64 E, FtpTransferState H)
Note that the same query works fine when i use it with 'ftp' prefix instead of 'ftps' and that shorter queries (listing a folder with 3-4 files) are working fine over ssl.
Thanx,
Alon