[twsocket] More info Re: "FTP TLS, SSL, + passive mode, problem"

2014-04-18 Thread miro

hi

i did some tests today, and when i change CanClose to false (in 
BgException event), everything works fine (and i can upload all files 
without problem)
e.Message is : Access violation at address 0AB3C824 in module 
'SSLEAY32.DLL'. Read of address 0034


regards
miro
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Clarification Re: "FTP TLS, SSL, + passive mode problem"

2014-04-18 Thread miro

hi (Angus)

some clarification...
we use ftpcli for many years now, ssl version is included last few years 
and this is first time i see the problem with SSL (but i assume most of 
our users still use plain FTP), i did several tests with SSL in past and 
no problems ..


i have this problem with one specific server (one of the our users asked 
me about it), this server is private (hosting in US : atomicvps.com)
and user have problems since he was forced to switch from FTP to FTPES 
by his provider ( see 
http://www.atomicvps.com/blog/enforcing-encrypted-ftp-sessions/ ) ...


i did tests with this same server (ICS upload from my own pc), with same 
results (see log)
i also did same test with other clients (non ICS from my own pc) to same 
server and no problems...
means i can upload with non ICS client,  but not with ICS client from 
same pc to the same server...


as another test i also installed local filezilla server and was able to 
reproduce same problem with it (ICS upload to local filezilla server)


btw, today i updated to ICS8 (latest version from SVN)  and i still have 
same problem
upload log with ICS8 here : 
http://miro.image-line.com/downloads/full_upload_log2.rar


regards
miro

Are you testing against local FTP servers on a LAN, or public servers across
NAT routers and firewalls?

95% of FTP problems that happen when the data connection opens are caused by
NAT routers or firewalls blocking the new connection.  This is worse with SSL
since the router can not modify the control channel to change the internal IP
address to an external address.

It's unlikely to make any difference, but you can test against the ICS SSL FTP
server on ics.ftptest.org.

BTW, ICS v7 is very old and no longer maintained, you should be using v8.


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] FTP TLS, SSL, + passive mode problem

2014-04-16 Thread miro

Hi

i'm using FTPcli in one of my projects, and i have problem with FTPs 
over TLS with passive mode..
I have disconnects during the uploads: sometimes upload goes through but 
in most cases upload stops after PASV command...
This happens with different types of files and at least on 2 FTP servers 
(ProFTPD  and FileZilla Server).
You can download here 
 upload log file with 
several disconnects (happens always shortly after 227 Entering Passive 
Mode) .


i'm using latest ICS7 version (from svn) with Delphi 7 and tried with 
different versions of ssleay32.dll
normal ftp (without TLS) works fine, same for FTP+ TLS with passive mode 
off (same server)
also upload to same servers with different clients (tested with 
filezilla and total commander) using same options (ftp + TLS  + passive 
mode) works without problems


thx for any feedback
regards
miro krajcovic
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be