Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: While data transferring ... How to check progress of transfer?  (Read 2121 times)

0 Members and 1 Guest are viewing this topic.

Demir

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Hello

I need to display data transfer in a progress bar while data sending/recieving with Ftp/Http.
It is not necessary except big files.

There is a loop in "Ftp::DataChannel::receive"...
But "Ftp::DataChannel::send" method sends data completely at one time.
May be TcpSocket the private member of Ftp  is responsible for this.

My thoughts may tottally be wrong :)


Demir

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: While data transferring ... How to check progress of transfer?
« Reply #1 on: May 22, 2013, 10:03:50 am »
This is currently not possible, but it will be added in a future version.
Laurent Gomila - SFML developer

Demir

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: While data transferring ... How to check progress of transfer?
« Reply #2 on: May 22, 2013, 10:17:17 am »
Thank you Laurent.

I am impressed many features of SFML.

Of course SFML's main purpose may not be an another network releated library.

But can you say if there is a plan about near future or far ?



Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: While data transferring ... How to check progress of transfer?
« Reply #3 on: May 22, 2013, 10:21:27 am »
Could be done this year. Maybe in SFML 2.3.
Laurent Gomila - SFML developer