×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    10

    TransferProgress-FTP

    Hi All,

    I am working on S60 2nd and using CFTPSession and MFtpSessionNotifier, there is a method 'TransferProgress' in MFtpSessionNotifier and i wish to use it to determine the bytes transfered. Does any body has the idea how to use this method and which method in CFTPSession class callbacks this method??



    Thanks,

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    10

    Re: TransferProgress-FTP

    Disappointed on seeing no reply.....

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: TransferProgress-FTP

    Hi,
    See the pure virtual funcation that will help to implement the solution of your problem.

    MFtpSessionNotifier::TransferProgress()

    virtual void TransferProgress(TUint aProgress)=0;


    Description
    Reports the amount of data already transferred in bytes.


    Parameters
    TUint aProgress Amount of data already transferred
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    10

    Re: TransferProgress-FTP

    Quote Originally Posted by kkrish View Post
    Hi,
    See the pure virtual funcation that will help to implement the solution of your problem.

    MFtpSessionNotifier::TransferProgress()

    virtual void TransferProgress(TUint aProgress)=0;


    Description
    Reports the amount of data already transferred in bytes.


    Parameters
    TUint aProgress Amount of data already transferred

    Thanks KKrish for your reply, but can you explain me how to use this method. As far as i have understood, MFtpSessionNotifier's methods are called back by CFTPSession calss methods.
    1. Which method will invoke this method???
    2. If i invoke it from outside what value do i need to pass it??

    Kindly help me in the implementation of this method.

    Regards,
    hundal

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: TransferProgress-FTP

    Hi,

    Try to debug your program and put break point in all the pure virtual function then you will find how the function can be used.
    Read TransferProgress(TUint aProgress) the value of aPrgress variable.

    these are the pure virutal function call by the framework directly.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  6. #6
    Registered User
    Join Date
    Oct 2008
    Posts
    10

    Re: TransferProgress-FTP

    Quote Originally Posted by kkrish View Post
    Hi,

    Try to debug your program and put break point in all the pure virtual function then you will find how the function can be used.
    Read TransferProgress(TUint aProgress) the value of aPrgress variable.

    these are the pure virutal function call by the framework directly.
    ok, i wil give it a one more try... thanks..
    I will just get back to you.

    ~Hundal

  7. #7
    Registered User
    Join Date
    Oct 2008
    Posts
    10

    Re: TransferProgress-FTP

    Thanks KKrish... I got hold of it. this method is invoked by RetrieveL..

    ~Hundal

Similar Threads

  1. OpenC FTP Client Example problems
    By steverino2 in forum Open C/C++
    Replies: 12
    Last Post: 2010-07-08, 14:16
  2. [ASK] FTP Client with FileConnection
    By calyp5o in forum Mobile Java Networking & Messaging & Security
    Replies: 8
    Last Post: 2008-07-30, 15:50
  3. Few questions about FTP uploading
    By Camelus in forum Symbian
    Replies: 4
    Last Post: 2006-10-27, 11:39
  4. ftp library in Nokia 6680?
    By CleanUpClosePushL() in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-10-07, 08:41
  5. FTP server and J2ME
    By shahzad73 in forum Mobile Java General
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×