Results 1 to 5 of 5

Thread: Create Torrent File And Upload Internet QtCreator

  1. #1
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Create Torrent File And Upload Internet QtCreator

    i want create Torrent file and upload interet,what do i must funcition ?

  2. #2
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    Thanked 29 Times in 19 Posts

    Default Re: Create Torrent File And Upload Internet QtCreator

    You must write a routine, which takes a file or a list of files and creates a torrent file, then write a routine, which uploads it where you want it.

  3. #3
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Create Torrent File And Upload Internet QtCreator

    can you said full problem ?,

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Create Torrent File And Upload Internet QtCreator

    Do you want that we write that for you? What do you have so far?

  5. #5
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Create Torrent File And Upload Internet QtCreator

    This section describes the functions and classes that are used to create torrent files. It is a layered API with low level classes and higher level convenience functions. A torrent is created in 4 steps:

    1. first the files that will be part of the torrent are determined.
    2. the torrent properties are set, such as tracker url, web seeds, DHT nodes etc.
    3. Read through all the files in the torrent, SHA-1 all the data and set the piece hashes.
    4. The torrent is bencoded into a file or buffer.

    If there are a lot of files and or deep directoy hierarchies to traverse, step one can be time consuming.

    Typically step 3 is by far the most time consuming step, since it requires to read all the bytes from all the files in the torrent.

    All of these classes and functions are declared by including libtorrent/create_torrent.hpp.
    thank,i found

Similar Threads

  1. how to create internet explorer toolbar using Qt?
    By live_07 in forum Qt Programming
    Replies: 2
    Last Post: 16th February 2011, 07:28
  2. i want write TOrrent client on QTCreator
    By nhs_0702 in forum Qt Programming
    Replies: 0
    Last Post: 26th March 2010, 07:32
  3. Read a csv file from Internet
    By abghosh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2010, 16:04
  4. Qhttp Upload file
    By danny.lesnik in forum Qt Programming
    Replies: 5
    Last Post: 11th December 2009, 09:02
  5. QNetworkRequest file upload -- please help
    By Runtime Technologies in forum Qt Programming
    Replies: 3
    Last Post: 14th July 2009, 15:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.