Solved

Downloading Files with VB

Posted on 1999-01-15
2
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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 need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

688 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