473,385 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

FTP routines programmed by VB .net

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

May 19 '06 #1
3 1121
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" <hi**********@yahoo.com> wrote in message
news:11*********************@j73g2000cwa.googlegro ups.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

May 19 '06 #2
In .Net 2.0, there is FTP abilities built in. See the FtpWebRequest and FtpWebResponse
methods. (http://msdn2.microsoft.com/en-us/lib...ebrequest.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
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" <hi**********@yahoo.com> wrote in message
news:11*********************@j73g2000cwa.googlegro ups.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

May 19 '06 #3
Thank you very much, Jim and Fred.

DL

May 27 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

354
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets...
2
by: Alf P. Steinbach | last post by:
The sixth part of my attempted Correct C++ tutorial is now available, although for now only in Word format (use free Open Office if no Word), and also, it's not yet been reviewed at all -- ...
26
by: Joe Blow | last post by:
Some heroes out there generously provide a tarball (usually called "specfun.tar.gz") containing routines that compute special functions like Gamma, Confluent Hypergeometric, Struve, and other...
6
by: Steve Lambert | last post by:
Hi, I've knocked up a number of small routines to create and manipulate a linked list of any structure. If anyone could take a look at this code and give me their opinion and details of any...
0
by: Gary O'Malley | last post by:
I really don't know how to get started with code that declares a new object and then makes that object an MSAccess Application. Then with that object call functions\sub routines that exist within...
3
by: UJ | last post by:
I am going to write a class that will inherit from SqlCommand and I want to disable certain routines in the SqlCommand and add a couple of new routines. How would I go about doing that? I...
4
by: mosscliffe | last post by:
I am trying to create Common Routines in a Class to use within my site, but as usual I am struggling to understand the fundamentals. I have the following Class dbase Public Shared Function...
0
by: TechWitch | last post by:
In my current environment, we have a 64-bit instance (DB2/AIX64 8.2.4) where we have at least one function that was left in 32-bit mode (not JAVA). According to the IBM documentation it is...
1
by: Congcong | last post by:
When I use gprof to profile a program, it seems never show me the profile info on c lib routines such as malloc. But sometimes, profile info on such c lib routines are also important. I use 'gcc -g...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.