Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. File hosting with multiple file servers

File hosting with multiple file servers

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bepehr
    wrote on 9 Feb 2013, 09:22 last edited by
    #1

    hi , i want to create a file host with multiple servers to keep file , its my idea and i need to know its possible ? and what QT give to my to do this ?
    i want to create my own protocol between client and servers with this commands
    Create Folder
    Delete
    Upload file
    Download file
    !http://ma3ta.persiangig.com/pic/server.png(dia)!
    Main server will keep folders and file details on Database , client will connect to Main server and get folders/files list , this part is easy , but main problem is upload / download a file because each file can be stored on a File server , and i need to download / upload file directly from client to File server , how i can handle this ?
    my idea for upload is :

    1. Client send its upload request to Main server
    2. Server will look at database and send a File server address and a random key to client
    3. Client connects to File server and send that random key to File server and other client account details
    4. File server will check that random key and user information with Main server
    5. if that Random key and other user information is valid in database , Main server will send accept response to file Server
    6. Upload will begin from Client to File server
    7. after upload Finished , File server will send a log to Client and Main server
      its a good way ?
      i have read Tcp Sockets in QT
      ty
    1 Reply Last reply
    0
    • T Offline
      T Offline
      tzander
      wrote on 9 Feb 2013, 17:11 last edited by
      #2

      Sounds like a fun project!
      Give it a go :)

      If you have actual direct questions, feel free to ask them here.

      1 Reply Last reply
      0

      1/2

      9 Feb 2013, 09:22

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved