473,796 Members | 2,559 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieve a file from an FTP address?

How can I easily download one file from an FTP addrss in VB.NET? I just need
to download it top a location on the users drive and manipulate it later?

I know this must be a dumb question, but I'm only an as needed type
programmer and don't this everyday!!

TIA
Luis
Nov 20 '05 #1
3 8978
Luis,
..NET does not have built-in support for FTP. However FTP being a TCP/IP
protocol you can add FTP to .NET easy enough.

Matthew MacDonald's book "Microsoft Visual Basic .NET Programmer's Cookbook"
from MS Press has a topic where he gives you a sample FTPClient class you
can use to access files via FTP.

There are also third party products and other samples on the web,
unfortunately I do not have links handy.

Hope this helps
Jay

"Luis" <lu************ @remove.florenc ebank.com> wrote in message
news:eV******** ******@tk2msftn gp13.phx.gbl...
How can I easily download one file from an FTP addrss in VB.NET? I just need to download it top a location on the users drive and manipulate it later?

I know this must be a dumb question, but I'm only an as needed type
programmer and don't this everyday!!

TIA
Luis

Nov 20 '05 #2
"Luis" <lu************ @remove.florenc ebank.com> scripsit:
How can I easily download one file from an FTP addrss in VB.NET? I just need
to download it top a location on the users drive and manipulate it later?

I know this must be a dumb question, but I'm only an as needed type
programmer and don't this everyday!!


VB.NET:

<http://www.freevbcode. com/ShowCode.Asp?ID =4655>
<http://www.allapi.net/downloads/NetFTP.zip>
<http://www.visualbuild er.com/article/viewarticle.asp ?id=1234>
<http://www.abderaware.com/ (company site)>

C#:

<http://www.csharphelp. com/archives/archive9.html>
<http://www.codeproject .com/csharp/FTPDriver1.asp>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Thanks!!! That was exactly what I needed!! Neat book too...

Luis
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:ee******** ******@TK2MSFTN GP11.phx.gbl...
Luis,
.NET does not have built-in support for FTP. However FTP being a TCP/IP
protocol you can add FTP to .NET easy enough.

Matthew MacDonald's book "Microsoft Visual Basic .NET Programmer's Cookbook" from MS Press has a topic where he gives you a sample FTPClient class you
can use to access files via FTP.

There are also third party products and other samples on the web,
unfortunately I do not have links handy.

Hope this helps
Jay

"Luis" <lu************ @remove.florenc ebank.com> wrote in message
news:eV******** ******@tk2msftn gp13.phx.gbl...
How can I easily download one file from an FTP addrss in VB.NET? I just

need
to download it top a location on the users drive and manipulate it later?
I know this must be a dumb question, but I'm only an as needed type
programmer and don't this everyday!!

TIA
Luis


Nov 20 '05 #4

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

Similar topics

6
4428
by: Miguel Orrego | last post by:
Hi, I have found some code that authenticates users agains a domain using ADSI. I then redirect to another page and pass the username they have entered as a string. However, it would be nice to also get their full name from Active Directory once authenticated. Can anyone suggest how I may modify this code to achieve this? I would also like to pass their full name to the next page as a string. The code I found: <%
3
2324
by: serge calderara | last post by:
Dear all, I have a tool which is able to receive any kind of data from a remote system. For that I need to get the ipadress of the remote system. If the system is not connected to a DHCP server no problem , I set in my configuration the ip adress. Then if my remote system is connected to a DHCP server,
0
1221
by: GoCMS | last post by:
Sorry for the duplicate posting, but I tried to cross_post from adsi.general board, and it didn't work. :( Here's my question: I'm using windows 2000, and integrated windows authentication for company intranet. I'm constructing a web page with ASP. I got user's login by Server("Auth_User") variable. How can I use that go get user's email address? I tried GetObject("WinNT://myDomain/MyUserName"), but the object I got didn't
0
1275
by: rey17 | last post by:
hi i'm working on a project and my application will be running on pocket pc(i'm using .NET CF). basically my application should be able to retrieve my pocket's ipv6 address (it's the link-local address not the global address) and then multicast the address to other pocket pc around it; so, could anyone could told me show me/what should i do (with some simple code if possible) how does it works.. thanks in advance
6
7571
by: mphanke | last post by:
Hi, how can I retrieve the icon for a registered file extension from the registry and show it in my ListView? Any hints appreciated, Martin
5
1492
by: Simon Teng | last post by:
Hello all, I'm just wondering if it is possible to retrieve more information on a file. For example a word file property contains a summary tab when you right-click on it in the file explorer; and there are other informations like "Title", "Subject", and "Author". Thks, Simon
2
6998
by: ruthboaz | last post by:
Hi, I want to retrieve the file open dialog box, retrieve the file path & assign the value to a text field. Pls assist. Thanks & Regards, Ruth
2
3337
by: Noro | last post by:
Hi All, When I try to get the email address of the current user, I retrieve a string like this that represents the email address: /o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME What can I do to retrieve the smtp address from this exchange address? Thank you!
0
1382
by: tmeers | last post by:
Ok so a little backgroud, I have a image upload/retrieve app http://gettinlucky.dyndns.org/Shared/ that I use and have modifyed to fit my needs. (Now while I know most people shy away from storing images/binary data in a DB, it works for me.) It is in c# and it works great, except that when the file returns to the browser after being pulled out of the DB it will not return the file name. I had an app that did but it was useing access and was...
0
2715
by: stainless | last post by:
I know this is not necessarily a C# question but the code I am wrinting is C# and I wasn't sure whereelse to ask the question. I have taken some web code (from codeproject.com) that performs FTP commands and used this in C# code to retrieve a list of files in a diretory, using the NLST command. My command is : SendCommand("NLST" + mask)
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9525
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10169
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.