> THX for Your reply. The problem is that I tried everything. I used Your > FTPTest Sample (Ftptst.dpr). I used Binary and without Binary. Also Sync and > Async. Same result.
Usually the problem is forgetting to call TypeSet. Setting the property Binary to true is _not_ enough ! > Here my way I did: > > FtpClient1.HostName := HostNameEdit.Text; > FtpClient1.Port := PortEdit.Text; > FtpClient1.UserName := UserNameEdit.Text; > FtpClient1.Password := PasswordEdit.Text; > FtpClient1.HostDirName := HostDirEdit.Text; > FtpClient1.HostFileName := HostFileEdit.Text; > FtpClient1.LocalFileName := LocalFileEdit.Text; > FtpClient1.Passive := passivecheck.checked; > FtpClient1.Binary := true; > {FtpClient1.Binary := binary.checked;} > > Ftpclient1.connect; > ftpclient1.cwd; > ftpclient1.get; > FtpClient1.Quit Well you forgot TypeSet ! So the server don't know you want binary file type. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be