Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C program - how to upload data to web?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kvazinet
How do I cheat?
Reputation: 0

Joined: 07 Aug 2012
Posts: 7
Location: 127.0.0.1

PostPosted: Thu Aug 09, 2012 6:21 pm    Post subject: C program - how to upload data to web? Reply with quote

I have simple program which reads some stuff, and I want it to upload this data to web so I can access this data somewhere online or by using other program.
1. How to upload? (send)

2. Where to upload? FTP server, is it possible to make it free (no cost)

data isnt something big, maximum like 50 bytes (50 chars)
Back to top
View user's profile Send private message
kvazinet
How do I cheat?
Reputation: 0

Joined: 07 Aug 2012
Posts: 7
Location: 127.0.0.1

PostPosted: Fri Aug 10, 2012 4:50 am    Post subject: Reply with quote

I've read something and think is also possible to send mail in C# program. any help would be really welcome Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25812
Location: The netherlands

PostPosted: Fri Aug 10, 2012 8:42 am    Post subject: Reply with quote

you could execute the ftp.exe program in the windows system folder.
Just pass it the -s parameter followed by a filename with the ftp commands

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Aug 26, 2012 2:27 am    Post subject: Reply with quote

Just send the data to a backend script on your website that will handle POST data. This way you don't need to do any special stuff in your app aside from opening the link with the given POST variables appended to the url.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Sep 01, 2012 10:56 am    Post subject: Reply with quote

Wiccaan wrote:
Just send the data to a backend script on your website that will handle POST data. This way you don't need to do any special stuff in your app aside from opening the link with the given POST variables appended to the url.


Do you mean GET? POST Variables are placed into the header but not the URL, GET variables are placed into the URL.

All in all, I agree with what you're saying. I would take it a step further and think about creating a formalized REST API structure for future use. Zend is sexy for this stuff.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites