Article View: borland.public.cppbuilder.internet.socket
Article #4697FTP problem
From: Gianna Stefani
Date: Tue, 04 Jan 2005 11:38
Date: Tue, 04 Jan 2005 11:38
19 lines
1337 bytes
1337 bytes
I am trying to send a web document (htm, css, etc) to a server using TClientSocket. I can connect to the server, send ID and password, change directories etc etc ... but ... I cannot find out how to send the file (after much searching). If I use "STOR filename" via SendText it creates a zero-byte file on the server ... and if I use SendStream (where the stream contains the file contents), it sends the lines of the file which are unrecognised. Any help and guidance appreciated. I really would like to learn this (as well as make the program work). -- Gianna www.buchan-meteo.org.uk
Technical Details
Message-ID:
<33vdf0F44uev2U1@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,aef27c5b12b49f06,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gianna Stefani <no-one@nowhere.not> Newsgroups: borland.public.cppbuilder.internet.socket Subject: FTP problem Date: Tue, 04 Jan 2005 11:38:30 +0000 Lines: 19 Message-ID: <33vdf0F44uev2U1@individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net pNIlawfG0RfC2tJg57UF3wj2wb+2qC9WNsTzl6PGkWILthp/M= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en