Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Uploading/Download files on a server

Uploading/Download files on a server

Scheduled Pinned Locked Moved C#
databasediscussionsysadminperformancequestion
4 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    musefan
    wrote on last edited by
    #1

    Hello all, Im looking for some opinions and/or suggestions on the best way to handle file uploading and downloading to/from a server with my application. At the moment I have implemented an FTP solution to allow files to be transfered to and from the server, this seems to be working fine but I am not sure if i have chosen the best option for the task (in terms of performance and reliability). I know it is possible to store files in an SQL database (which I am currently using for data storage), but avoided this approach as I didnt want to pack my database with file storage. Can anybody offer an opinion on a 'best practice' route for this kind of functionality? or perhaps offer another alternative I could look into? Im not completely against SQL storage if anyone can put a good argument forward for it? After all I just want wants best for my offsprings :-D Thanks

    Life goes very fast. Tomorrow, today is already yesterday.

    S 1 Reply Last reply
    0
    • M musefan

      Hello all, Im looking for some opinions and/or suggestions on the best way to handle file uploading and downloading to/from a server with my application. At the moment I have implemented an FTP solution to allow files to be transfered to and from the server, this seems to be working fine but I am not sure if i have chosen the best option for the task (in terms of performance and reliability). I know it is possible to store files in an SQL database (which I am currently using for data storage), but avoided this approach as I didnt want to pack my database with file storage. Can anybody offer an opinion on a 'best practice' route for this kind of functionality? or perhaps offer another alternative I could look into? Im not completely against SQL storage if anyone can put a good argument forward for it? After all I just want wants best for my offsprings :-D Thanks

      Life goes very fast. Tomorrow, today is already yesterday.

      S Offline
      S Offline
      Samuel Cherinet
      wrote on last edited by
      #2

      have you tried remoting? that would really help you to write codes to upload and down load files using a file system not the SQL server

      M 1 Reply Last reply
      0
      • S Samuel Cherinet

        have you tried remoting? that would really help you to write codes to upload and down load files using a file system not the SQL server

        M Offline
        M Offline
        musefan
        wrote on last edited by
        #3

        Thanks for your reply Have been looking at 'C# Remoting' and have a found a few articles with varying approaches to how to acheive a file upload/download system. Though all of them (of the ones i looked at) seem to require a server-side application. Something I was hoping to avoid using. Is this the idea you had in mind? i.e. creating a server app and communicating with that for file transfers Also where you thinking of any perticular method, like using the System.Runtime.Remoting classes, or was your suggestion just for a general remoting solution? Either way thanks for the suggestion, has been interesting to read about, but like I said, I want to avoid creating a server app if possible :-D

        Life goes very fast. Tomorrow, today is already yesterday.

        S 1 Reply Last reply
        0
        • M musefan

          Thanks for your reply Have been looking at 'C# Remoting' and have a found a few articles with varying approaches to how to acheive a file upload/download system. Though all of them (of the ones i looked at) seem to require a server-side application. Something I was hoping to avoid using. Is this the idea you had in mind? i.e. creating a server app and communicating with that for file transfers Also where you thinking of any perticular method, like using the System.Runtime.Remoting classes, or was your suggestion just for a general remoting solution? Either way thanks for the suggestion, has been interesting to read about, but like I said, I want to avoid creating a server app if possible :-D

          Life goes very fast. Tomorrow, today is already yesterday.

          S Offline
          S Offline
          Samuel Cherinet
          wrote on last edited by
          #4

          yeah!! you would need a server app to achieve what you are looking for in remoting. it's not at all complicated though, you will have more control over the transer as well among other benifits. I would recommend "Wrox Press-Professional C#" book, Good Luck

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups