login about faq

I have set the following:

_ftp.put_EventCallbackObject(&_ftpProgress);

_ftp.put_Hostname(_host.c_str());
_ftp.put_Username(_user.c_str());
_ftp.put_Password(_password.c_str());

_ftp.put_Passive(false);
_ftp.put_HeartbeatMs(250);
_ftp.put_SendBufferSize(4096);

But i am never getting calls to my FtpPercentDone method. Only AbortCheck

asked Aug 16 '13 at 14:00

iifuzz's gravatar image

iifuzz
1339


The percent-done event callbacks in v9.4.1 have been standardized to be named "PercentDone". Also take care to use "int" instead of "long" for the integer argument. See the CkFtpProgress.h --

    // Changed from "FtpPercentDone" to "PercentDone"
    virtual void PercentDone(int pctDone, bool *abort) { }
    //virtual void FtpPercentDone(long pctDone, bool *abort) { }

link

answered Aug 16 '13 at 18:37

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×65
×21

Asked: Aug 16 '13 at 14:00

Seen: 1,135 times

Last updated: Aug 16 '13 at 18:37

powered by OSQA