Jump to content


Photo

IFTPConnectionEvents::OnTransferProgress


  • Please log in to reply
5 replies to this topic

#1 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 04 June 2006 - 09:59 PM

Hello,

From SmartFTP Lib Help: "The event is fired every 500 ms."
Is it possible set up the fire event time to other value, for example - 100 ms?

Regards,
Nikolai Egipko

#2 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 05 June 2006 - 01:23 AM

No.

#3 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 05 June 2006 - 01:17 PM

No.


May be add new property to IFTPConnection? :unsure:

#4 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 06 June 2006 - 02:57 AM

If it's important for you we can implement it. Just out of curiosity why do you need a lower interval? It causes more overhead (Events are sent through OLE) which usually doesn't bring any benefits.

-Mat

#5 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 06 June 2006 - 07:38 AM

Implemented in 1.5.8.9
IFTPConnection: Added TransferProgressEventInterval property.
Default: 1000 (ms)

Please let me know if it works.

Thanks
-Mat

#6 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 06 June 2006 - 01:18 PM

Please let me know if it works.

WOW! Big THANKS!
Yes, it works fine!

If it's important for you we can implement it. Just out of curiosity why do you need a lower interval? It causes more overhead (Events are sent through OLE) which usually doesn't bring any benefits.

I know about situation with OLE events. I think, the program should be more more "sympathetic". I do not think, that I need an interval in 5 or 10мс :unsure: , but at an interval in 200мс all looks well enough, progress bar less "lazy" :rolleyes:

Thanks again,
Nikolai




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users