I ahve tried using the code:
but it does not work...
whats the proper format for entering a location to a computer over the network?
Also... whats a way to send a file to a computer over the internet such as my friends computer...
The reason I am doing this is because I plan to make some programs that run based on text files and a basic example of this is a chat program... but I do plan for other things as well...
EDIT:
Used this code:
and it worked... now how can I send over the internet... Also is there another way i can send over the network like using the IP instead of computer name?
Also how do I send it to other computers?
VB.NET:
My.Computer.Network.UploadFile("C:\Users\Phillip\Desktop\test.txt", "http://10.0.0.2/c:/text.txt", "my username, "mypassword")
but it does not work...
whats the proper format for entering a location to a computer over the network?
Also... whats a way to send a file to a computer over the internet such as my friends computer...
The reason I am doing this is because I plan to make some programs that run based on text files and a basic example of this is a chat program... but I do plan for other things as well...
EDIT:
Used this code:
VB.NET:
My.Computer.Network.UploadFile("C:\Users\Phillip\Desktop\test.txt", "\\PHILIPADAMS-PC\USERS\Philip Adams\text.txt", "myusername", "mypass")
and it worked... now how can I send over the internet... Also is there another way i can send over the network like using the IP instead of computer name?
Also how do I send it to other computers?
Last edited: