Results 1 to 3 of 3

Thread: Upload Pic [No ASPX please]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    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!

  2. #2
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    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.

  3. #3
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    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.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width