/    Sign up×
Community /Pin to ProfileBookmark

Transfering .csv from application to server

Hi

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..

Thanks

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogOct 14.2013 — 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.
Copy linkTweet thisAlerts:
@birdy247authorOct 14.2013 — 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.

Thanks
×

Success!

Help @birdy247 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...