Home All Groups Group Topic Archive Search About

FTP routines programmed by VB .net

Author
19 May 2006 12:32 AM
Dartish
Hi all,

I need to use .net VB to achieve some FTP routines.

I need to get the list of file names from the FTP site, compare the
list of file names with the file names of my local directory and
download whatever that is not in my local directory.

I have to do this in .net (VB), which is brand new to me. Any pointers,
sample codes, website, would be extremely helpful.

Thank you very much.

Dartish

Author
19 May 2006 2:45 PM
Fred Hedges
I don't think .NET has any/good support for FTP.   The link below shows one
chaps attempt to do it with his own library - I suppose it might give some
pointers.  The alternative is to purchase and use a commercial .NET FTP
library.  Just google for "dotnet+library+ftp" and there are loads of links.

http://www.codeproject.com/dotnet/dotnetftp.asp








Show quoteHide quote
"Dartish" <highlande***@yahoo.com> wrote in message
news:1147998748.292132.24570@j73g2000cwa.googlegroups.com...
> Hi all,
>
> I need to use .net VB to achieve some FTP routines.
>
> I need to get the list of file names from the FTP site, compare the
> list of file names with the file names of my local directory and
> download whatever that is not in my local directory.
>
> I have to do this in .net (VB), which is brand new to me. Any pointers,
> sample codes, website, would be extremely helpful.
>
> Thank you very much.
>
> Dartish
>
Author
19 May 2006 4:39 PM
Jim Wooley
In .Net 2.0, there is FTP abilities built in. See the FtpWebRequest and FtpWebResponse
methods. (http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx)

It is even easier in VB using the My namespace. Just use My.Computer.Network.DownloadFile
or My.Computer.Network.UploadFile. Piece of cake.

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx

Show quoteHide quote
> I don't think .NET has any/good support for FTP.   The link below
> shows one chaps attempt to do it with his own library - I suppose it
> might give some pointers.  The alternative is to purchase and use a
> commercial .NET FTP library.  Just google for "dotnet+library+ftp" and
> there are loads of links.
>
> http://www.codeproject.com/dotnet/dotnetftp.asp
>
> "Dartish" <highlande***@yahoo.com> wrote in message
> news:1147998748.292132.24570@j73g2000cwa.googlegroups.com...
>
>> Hi all,
>>
>> I need to use .net VB to achieve some FTP routines.
>>
>> I need to get the list of file names from the FTP site, compare the
>> list of file names with the file names of my local directory and
>> download whatever that is not in my local directory.
>>
>> I have to do this in .net (VB), which is brand new to me. Any
>> pointers, sample codes, website, would be extremely helpful.
>>
>> Thank you very much.
>>
>> Dartish
>>
Author
27 May 2006 10:10 PM
Dartish
Thank you very much, Jim and Fred.

DL