Solved

Microsoft Internet Transfer Control

Posted on 2000-05-17
3
374 Views
Last Modified: 2008-03-10
Hi All, I need to ftp a file inside the program, so I am using Microsoft Internet Transfer Control. While trying to use getchunk method in statechanged event I am getting an error 35764 "Still executing last request". the code is very simple and I don't understand what is wrong. If anyone has a suggestion, please let me know.

0
Comment
Question by:Moriah
3 Comments
 
LVL 2

Accepted Solution

by:
AtulGupta earned 50 total points
ID: 5443502
This would usually happen in case the status returned is icResponseReceived. You would normally have to work using icResponseCompleted
0
 

Expert Comment

by:bhat_santosh071200
ID: 5643129
The 'Execute' command works asynchronously. After a line which uses this command, you have to wait for the execute command to be fully executed.
This will be solution for your problem.
Note:
But, if you have used a ftp command like 'DIR' and result is empty directory/list, then state_changed event is not executed.So, stillexecuting property is always true. this will result in everlasting loop or if you are not checking for still executing property, you will get error 35764. Then you will have to use 'SIZE' ftp command and check for the size before executing the 'DIR' statement.
0
 

Expert Comment

by:costello
ID: 6396073
Rejecting bhat_santosh' comment, accepting AtulGupta's comment.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

830 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