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
  1. Home
  2. Database & SysAdmin
  3. Hosting and Servers
  4. File Transfer Methods

File Transfer Methods

Scheduled Pinned Locked Moved Hosting and Servers
androiddatabase
2 Posts 2 Posters 11 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.
  • T Offline
    T Offline
    T Gorman
    wrote on last edited by
    #1

    I might be in the wrong forum. If so, please point me towards the right one. I have a database application which generates reports. I would like to be able to send the reports to an off site location where they can be downloaded to a custom android app that will be developed to handle downloading and decryption. Right now they are stored and encrypted in a directory on the local machine. I'd like to perform the uploading through the program, ie. I don't want the user to have to do anything but select the reports for uploading and push a button. Should I be looking to upload them to an sftp site or is there something else available as an alternative (google docs, dropbox etc.) I'd like to perform the uploading through the program, ie. I don't want the user to have to do anything but select the reports for uploading and push a button. TIA

    J 1 Reply Last reply
    0
    • T T Gorman

      I might be in the wrong forum. If so, please point me towards the right one. I have a database application which generates reports. I would like to be able to send the reports to an off site location where they can be downloaded to a custom android app that will be developed to handle downloading and decryption. Right now they are stored and encrypted in a directory on the local machine. I'd like to perform the uploading through the program, ie. I don't want the user to have to do anything but select the reports for uploading and push a button. Should I be looking to upload them to an sftp site or is there something else available as an alternative (google docs, dropbox etc.) I'd like to perform the uploading through the program, ie. I don't want the user to have to do anything but select the reports for uploading and push a button. TIA

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      Confused architecture. You have a Server A which produces the reports. You have a Server B where you want the reports to be. So obviously you will need to move them. You will need some sort of scheduled process that moves them via some sort of protocol. I would suggest figuring out what you want to do with the file on Server A after you have successfully moved it also. None of the above has anything to do with a user. Now maybe the problem is that you have not actually identified yet that you even need a Server B. But I suspect you probably would want that because "database application" suggests a "database" and myself I do not want anyone but my stuff touching the database server. So given that you have a Server B then you need to define HOW you are going to serve those files (doesn't matter what is in them) to a user. There are all sorts of considerations. Some of the ones I can think of. - How does the user know which file they are looking at - How do you insure that user A doesn't see user B's reports - How do you actually serve up the file. Do you just down load it or do you want do have it pop open? - Are they downloading one file at a time or many? - What happens to the old reports on Server B? Notice that none of the above has anything to do with Server A.

      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