Solved

Downloading Files with VB

Posted on 1999-01-15
2
167 Views
Last Modified: 2013-11-13
I have always wanted to create a program that will download all files with a specific extension at a certain URL.

Is there an FTP control or function in VB6?
0
Comment
Question by:RRosario11
2 Comments
 
LVL 1

Expert Comment

by:MAVERICK
ID: 1456713
use either winsock or Inet to get the file ... not sure howd u determine all the files on a http site.... ftp .. itd be easy....

0
 
LVL 1

Accepted Solution

by:
carlosvs earned 200 total points
ID: 1456714
Is easy you need to call the component
Microsoft Internet Transfer Control

if you need to download a file using the "get" FTP command
you can use:
Inet1.execute "URL", "GET myfile.txt C:\My Documents\myfile.txt"

to login:
Inet1.URL = "FTP://ftp.site.com"
Inet1.Password = "pass"
Inet1.UserName = "me"
Text1.Text = Inet1.OpenURL

you can use the same FTP commands: send, cd ,get..
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now