Internet Transfer Control - download times

Posted on 2005-05-05
Medium Priority
Last Modified: 2010-05-02
I am successfully using the Internet Transfer Control to download files via ftp and the .execute method
With InetOne
        .URL = "ftp://MySite"
        .UserName = "MyUserName"
        .Password = "MyPassword"  
        .execute , "GET www/FtpServer/MyFile " & app.path & "\MyFile"
        Do While .StillExecuting
        .execute , "CLOSE"
End With

This works fine however I want to be able to display the download progress so I need to be able to keep track of the number of bytes downloaded. How can I do this? Getting the size of the file is no problem - but how can I monitor the download?
Question by:jsb330
LVL 13

Accepted Solution

softplus earned 1000 total points
ID: 13934520
Hi jsb330,
You need to drop the internet transfer control for progress information - and jump to the "more direct" path using wininet.dll.
Try these links for examples:
LVL 26

Expert Comment

ID: 13934549

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

750 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