Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: FTP a File

www.cryer.info
Managed Newsgroup Archive

Re: FTP a File

Subject:Re: FTP a File
Posted by:alf.christophers..@medisinuio.no
Date:Sun, 7 May 2006 14:41:26

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4458f9bb@newsgroups.borland.com...
>
> "Barry Wood" <Barry@AMSS.uk.com> wrote in message
> news:4458efa4@newsgroups.borland.com...
>
>> Being pretty new to ftp'ing I get confused with all the stuff that's
>> available. I need to start with a simple example and then I can work from
>> there.
>
> If you use Indy, then use the TIdFTP component, ie:
>
>    IdFTP1.Host = 'whatever';
>    IdFTP1.Port := 21;
>    IdFTP1.Connect;
>    try
>        IdFTP1.ChangeDir('/whatever');
>        IdFTP1.Put('c:\localfolder\file.ext', 'file.ext');
>    finally
>        IdFTP1.Disconnect;
>    end;
>

Since more and more FTP-servers now block for normal FTP and require SFTP
connections, I would like to see a simple basic setup for SFTP. Is that
possible?

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive