Solved

Downloading Files with VB

Posted on 1999-01-15
2
168 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

920 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

14 Experts available now in Live!

Get 1:1 Help Now