🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4703

Re: FTP problem

#4703
From: Gianna Stefani
Date: Wed, 05 Jan 2005 09:16
26 lines
1770 bytes
Gianna Stefani wrote:
> 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).
> 

I should have added that I am using BCB6 Personal, which included the 
two socket components but the important element of the 'help' is 
excluded as being inappropriate for my version.

Again, any pointers to where I can find the information would be 
appreciated (I tried BDN / BCB6DG and Google already).

Gianna
Technical Details
Message-ID: <341pg1F42f2shU1@individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <33vdf0F44uev2U1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,aef27c5b12b49f06
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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: Re: FTP problem
Date: Wed, 05 Jan 2005 09:16:10 +0000
Lines: 26
Message-ID: <341pg1F42f2shU1@individual.net>
References: <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 imKloZPErN9skHBMMMmVPQaun5yzbIjbmg5x3zYDjlM5JMj+M=
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
In-Reply-To: <33vdf0F44uev2U1@individual.net>