Harold Holmes wrote: > I have a bitmap in a timage and I'd like to send that image to the server > without saving the file to the local harddrive first. Is it possible to use > a stream to do this? > > Best regards, > Harold > Yes, you can ...
[code] ftp.hostname := 'your_host'; ftp.username := 'user'; ftp.password := 'password'; ftp.binary := true; ftp.passive := true; // if u want passive ... ftp.hostdirname := 'your/directory'; ftp.hostfilename := 'filename'; ftp.localstream := your_stream; try ftp.transmit; except on e: exception do { do your exception handling ... } end; -- 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