Results 1 to 3 of 3

Thread: Transfering .csv from application to server

  1. #1
    Join Date
    Apr 2007

    Transfering .csv from application to server


    I have an application that runs on a users machine (i.e. they download it and install locally). The application generates a .csv/.txt file which I would then like to be "sent" to my web server so I can display it on the website.

    What would be the best way to send the file from the application to the server

    Someone suggested using an IP and socket number?? Not sure where I would start with that though? For reference I use shared hosting..


  2. #2
    Join Date
    Aug 2004
    Do you want the desktop app to do this automatically? If that's not required, you could just make a web form that has a file-type input field, and point the form's action to a script on that server that will accept the file and process it as desired.

    If you do want the desktop app to handle it, then it depends on what functionality is available to that app's programming language/environment. If it can process cURL requests, that would be a fairly simple way to submit the file in the same manner as the HTML form described above would do it.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    Apr 2007
    Thanks for the reply.

    If the application were required to send data every second to my server would this also be the best way? My app captures stats and I would like them to be displayed on a webpage every second.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center