Sending a file
-
How can i retrieve a file from the computer my program is on? let's say the program creates a text file and i want it to send the file to me, how can i do it? I know there are lots of ways, but I'd like to get all kinds of suggestions, for my program and just for general knowledge...so...how do I do it then?
-
How can i retrieve a file from the computer my program is on? let's say the program creates a text file and i want it to send the file to me, how can i do it? I know there are lots of ways, but I'd like to get all kinds of suggestions, for my program and just for general knowledge...so...how do I do it then?
There ARE a lot of ways, but you're probably going to want something network-based. You could:
- Have the program create/copy the file to a shared folder on "your" computer.
- Have it upload the file to an e.g. HTTP server running on your computer.
- Have it send the contents via some other network protocol.
- Have it e-mail the file to you.
- Have it NET SEND the contents to you.
- Have it post the contents to an online website.
- (Assuming both computers are within reasonable distance but are NOT networked) have it copy the file to a floppy/flash disk, then hand it off to a robot that will bring it to you, insert the disk, and copy the file back to your computer.
These are just some random (and somewhat ludicrous!) methods, but you get the idea. Cheers. ^_^ P.S. I would personally try them in about the order they are listed. Actually, I wouldn't even try the last one.
A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope
-
There ARE a lot of ways, but you're probably going to want something network-based. You could:
- Have the program create/copy the file to a shared folder on "your" computer.
- Have it upload the file to an e.g. HTTP server running on your computer.
- Have it send the contents via some other network protocol.
- Have it e-mail the file to you.
- Have it NET SEND the contents to you.
- Have it post the contents to an online website.
- (Assuming both computers are within reasonable distance but are NOT networked) have it copy the file to a floppy/flash disk, then hand it off to a robot that will bring it to you, insert the disk, and copy the file back to your computer.
These are just some random (and somewhat ludicrous!) methods, but you get the idea. Cheers. ^_^ P.S. I would personally try them in about the order they are listed. Actually, I wouldn't even try the last one.
A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope
well, obviously email is the best way, but i couldn't find any ways of doing it (there has to be a mail server configured in the computer...its annoying)
-
well, obviously email is the best way, but i couldn't find any ways of doing it (there has to be a mail server configured in the computer...its annoying)
From what I know of SMTP (admittedly not much) you don't need to set up a server, you just have to know how to communicate with the receiver's e-mail provider. But whichever method you choose, just make sure it fits the situation.
A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope