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 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
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
Thank you very much, Jim and Fred.
DL This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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 -- ...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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$) {
}
...
|
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...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |