Upload Clipboard Text data to a server
#1
Basically I'm working a small app that lets me upload text from the clipboard to a server. I don't know on how to go on about uploading the code nor do I know what to do to return errors. (It's being written in C#) All help is appreciated.

[Image: 106a7.png]
This is what I basically mean, in the basis of the application.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]

#2
What do you mean with "to return errors"?
Code:
try { // do something } catch(exception e) { //error happened }
[Image: MaEIQ.png]

#3
(04-11-2013, 07:42)Pozzuh Wrote: What do you mean with "to return errors"?
Code:
try { // do something } catch(exception e) { //error happened }

the specification is MINDBLOWING Troll

#4
Would've been helpful if someone told me how to make it save on my server.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]

#5
How do you want it to save ,ftp? One possible solution is to use php, send the string using webclient to a php uri on your webpage which will save it for you and then return the link and then just display the link. Or use FTP and save it through the app

#6
You can take look to c# networking if you're using dedicated stuff, or try to learn "web uploadto". ( like @archit said )

Edit: You should try mysql stuff. Use SQLite library.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#7
I was thinking of using PHP and saving it as a text file.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]

#8
(04-12-2013, 12:36)archit Wrote: One possible solution is to use php, send the string using webclient to a php uri on your webpage which will save it for you and then return the link and then just display the link.

I think send text to a php file to save can be a big security hole...
His project is made of C#, why not use C# FtpWebRequest to upload it?

#9
Because using FTP is a huge security risk.

If you have no experience with this at all, chances are 0% you actually have a properly configurated anonymous FTP server that allows for this purpose.

Just use PHP/ASP/NodeJS/anything serverside scripty thingy.

#10
(04-12-2013, 20:50)SuperNovaAO Wrote: Because using FTP is a huge security risk.

If you have no experience with this at all, chances are 0% you actually have a properly configurated anonymous FTP server that allows for this purpose.

Just use PHP/ASP/NodeJS/anything serverside scripty thingy.

Even PHP can be highly vulnerable to crackers and stuff. So try to use some packer or whatever.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Our Level Fastfile is Different from the Server. CheeseToast 6 15,576 11-03-2013, 17:52
Last Post: CheeseToast
  Dedicated Server External (public) IP Nerus 3 9,598 11-02-2013, 14:16
Last Post: Casper
  MW3 Server Version superg1973 7 17,542 10-28-2013, 01:15
Last Post: kotyra972
  Getting text from a website JustDoingThisShit 2 4,212 10-21-2013, 08:00
Last Post: JustDoingThisShit
  Storing data in a database shanky 3 4,471 10-16-2013, 01:37
Last Post: yokai134
  Help how to turn off map in dedicated server pero123 8 9,639 10-15-2013, 19:00
Last Post: Nekochan
  Issue with server addon and NAT dimitrifrom31 3 8,196 10-08-2013, 18:11
Last Post: iRoNinja
  GETTING SERVER ONLINE raym 6 9,214 09-28-2013, 22:42
Last Post: Nekochan
Rainbow [Request] Is there any way to send data safe without using OOB method? Nekochan 0 2,923 09-26-2013, 12:42
Last Post: Nekochan
  advanced Server Config Poorya56 9 9,995 09-11-2013, 03:45
Last Post: trasto

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.