Solved

Microsoft Internet Transfer Control

Posted on 2000-05-17
3
364 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

706 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

12 Experts available now in Live!

Get 1:1 Help Now