Re: FTP Client

Giganews Newsgroups
Subject: Re: FTP Client
Posted by:  Fakher Halim (fakh…@msn.com)
Date: Mon, 5 Apr 2004

Here is how I did that in a form with text boxes:

using Indy.Sockets.IndyFTP;
private void btnDownload_Click(object sender, System.EventArgs e) {
FTP lFtp = new FTP();
lFtp.Host=txtHost.Text;
lFtp.Username=txtUserName.Text;
lFtp.Password=txtPassword.Text;
lFtp.Connect(true);
lFtp.ChangeDir(txtDirectory.Text);
lFtp.Passive=true;
lFtp.Get(txtFileName.Text, txtFileName.Text, true, false);
lFtp.Disconnect();
}

Fakher Halim
Software Architect
TPG

"Michael L. Barker" <micromau…@hotmail.com> wrote in message
news:65C8000AF497E240micromau…@hotmail.com...
> Does anyone have any information on how to make a (basic) FTP client in
> VB.NET or C#?
>
> Thank you!
> ~(mm)8>

Replies

None

In response to

FTP Client posted by Michael L. Barker on Fri, 2 Apr 2004