?
Solved

Downloading Files with VB

Posted on 1999-01-15
2
Medium Priority
?
177 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 400 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

752 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