Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2007

    Question about CFTPSession

    I only want to retrieve a file.

    I know I have to implement MFtpSessionNotifier interface and I shoud have CFTPSession and MyNotifierFTP instance.

    However, I only want to download a file. Is it necessary to write code in all methods of MFtpSessionNotifier? In my application, there is no option for cancel,store,make directory,etc about FTP. The application start only if the file was completely downloaded.

    I think if I codify MFtpSessionNotifier::Complete(), make a FTP connection and call Retrieve is necessary to do it.

    Is it possible or not?

    Please, give me any suggestions.

  2. #2
    Super Contributor
    Join Date
    Jun 2006

    Re: Question about CFTPSession


    Yes you can update the complete method and other are the pure virtual function so if you don't have need them just leave him with blank definition.

  3. #3
    Registered User
    Join Date
    Dec 2007

    Re: Question about CFTPSession

    hi guys!

    I discover my error.

    It is following.

    I try to connect on my FTP Server. So,Immediately, I try to retrieve a file without the application has a connection yet.

    I corrected it this way. Firstly, I connected on server after the connection was completed and then I downloaded a file.

    Any way, Thanks!

Similar Threads

  1. N81 BUG: Web Services Parser an question marks???
    By masterchief2004 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-07, 17:59
  2. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 08:21
  3. Strange question on 6230
    By DanAvni1 in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2005-04-18, 06:05
  4. Replies: 2
    Last Post: 2004-01-08, 18:36
  5. Sending data using iAcceptedSocket (Urgent question)
    By okegame in forum Bluetooth Technology
    Replies: 1
    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