[twsocket] How to use Socks5 with FTP?

2006-05-15 Thread Dominik Schmidt
Hi ! I want to use TFTPClient over socks5. TFTPClient has properties like Socksserver, sockspassword, ... If I setup socks5 I only get: [09:38:24] Request 5 Done. [09:38:24] StatusCode = 500 [09:38:24] LastResponse was : '500 Not a WinSock error (Winsock error #20003)' [09:38:24] Error = 20003 (5

[twsocket] How to read directory with ftpclient?

2006-05-16 Thread Dominik Schmidt
Hello, I want to read a directory from my ftp server. So I use this code to read the dir: FTP.DisplayFileFlag:= True; FTP.Passive:= True; FTP.HostDirName:= '/LVsource/'; FTP.HostFileName := '*.*'; DeleteFile(TEMP_FILE_NAME); FTP.LocalFileName := TEMP_F

[twsocket] application with socks5 support?

2006-05-17 Thread Dominik Schmidt
Hello, in my company we use a socks5 server to connect to special services like ftp. To do this we have a little tool called FreeCAP (http://www.freecap.ru/eng/?p=). I want to add my own socks support in my application but I donĀ“t know how to do that. My application uses ftp and smtp. Both p