|
-
Jan 30th, 2006, 10:36 PM
#1
Thread Starter
Fanatic Member
Upload Pic [No ASPX please]
How do I upload picture or file to another computer? File.Copy works with LAN, and I don't know how on WAN. What are the things I need to know? Needing help here. I need it on WAN, say I know the IP and I know the guy who is operating that machine. Should I have some configuration to tell to that man that I need to be able to code for uploading images?
Thanks!
-
Jan 31st, 2006, 05:33 AM
#2
Re: Upload Pic [No ASPX please]
you need to use TCP/IP, run a program on both computers to connect to each other, then readin bytes from a filestream send it down the network stream (TCP port) and on the other end, recieve the bytes and send them into a filestream again.
-
Jan 31st, 2006, 05:53 AM
#3
Re: Upload Pic [No ASPX please]
You can still use filesharing as well so it'll work just like on a LAN. You'll just need to make sure the other person has their computer directly connected to the internet or the appropriate ports are forwarded on their router. you'll also need their WAN IP address.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|