×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    9

    How to copy a file's content to a new file?

    How to copy a file's content to a new file in series 60 SDK 1.2?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166
    in case you just need to copy the file you could use for example BaflUtils CopyFile()-function or CFileMan class functions.

    In case you need to read the content and append it to other file you could use RFile class and it's functions for doing it.

    yucca

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    9
    Thank you very much.Now I want to know the details of using RFile to copy a file.Can you give me some example code?

  4. #4
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    169

    How to copy a file's content to a new file?

    Hey,

    The SDK topic "How to read and write a file" has some sample code on how to use a RFile object to read from and write to a file.


    Regards, Aljaz

Posting Permissions

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