Re: [twsocket] [OT] Writing Vista applications using Delphi
From: Hoby Smith [EMAIL PROTECTED] I have just got a new Vista Laptop (since you can't get anything else now) and am having the worst time trying to run BDS 2006 on it. Why not run it in a virtual machine? Load up a VM with XP, install BDS 2006 and there ya go... Woody (TMW) -- 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
Re: [twsocket] FTP missing bytes
From: Gies,Brad [EMAIL PROTECTED] It seems the answer is that I now have to send the Type command before I do the PUT. Did it used to default to binary before, and now it defaults to ASCII? When I originally built my little web site program for editing pages and uploading them, I was under the same impression. When my ISP changed, my web server went from a Windows-based to a Unix-based and it caused the same problem, the last few bytes not being transmitted. I had to do the same thing you need to do, set BinaryMode AND call TypeSet to make sure the correct transfer mode was used for both client and server. HTH Woody (TMW) -- 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
Re: [twsocket] TFTPClient upload problem
From: Arno Garrels [EMAIL PROTECTED] Do you explicitly call TypeBinary/TypeBinaryAsync? It is not enough to set property Binary only. No, I don't. When and where should I call this? Woody (TMW) -- 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
Re: [twsocket] TFTPClient upload problem
From: Arno Garrels [EMAIL PROTECTED] Woody (TMW) wrote: I am using the TFTPclient component in a small app I built for maintaining my web pages and files. For a long time, everything worked great. Well, I changed ISP's and so I had to move my web page over to the new location. Now, whenever I upload my zip files to the ftp directory, they seem to get corrupted. When I try to download the files for testing, Winzip reports that there are errors and that some bytes are missing. I thought this might be a problem between using ASCII and binary but I have the component set to binary. Do you explicitly call TypeBinary/TypeBinaryAsync? It is not enough to set property Binary only. Arno, I tried putting a call to TypeBinary just after filling in user,password and host name but before opening the connection and it didn't change anything. FTP1.UserName := edUser.Text; FTP1.Password := edPass.Text; FTP1.HostName := edURL.Text; FTP1.TypeBinary; FTP1.TypeSet; try FTP1.Connect; if FTP1.Connected then begin ... Woody (TMW) -- 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