Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: Simple FTP using Indy 10
| Subject: | Re: Simple FTP using Indy 10 |
| Posted by: | "Kim Hovorka" (kimhovor..@yahoo.com) |
| Date: | Sat, 14 Apr 2007 13:48:12 |
I was foolishly using the wrong component for my simple app.
Kim
"Kim Hovorka" <kimhovorka@yahoo.com> wrote in message
news:46212b32$1@newsgroups.borland.com...
> Hello,
>
> I have not used Indy before and am trying to do a simple file upload to a
> website.
> I don't know if it is best to use the idHTTP or idFTP components.
> What I need to do is have most everything hard-coded so that not even the
> filename
> needs to be added as it will be a fixed filename.
>
> I am trying the ftp component and get a timeout error. I have tried
> changing the length
> of timeout and the error always occurs. I have the Host set to the .com
> and the port set to 21.
> I don't see other settings. Is there a way to set passive mode? I am just
> guess at this as I know
> that passive mode needs to be set in Filezilla for our webhost to ftp to.
>
> This is to be as simple as possible.
> Any simple example with either http or ftp and Indy 10 would be
> appreciated.
>
> --
> Kim
none