scrypt3r -4 Junior Poster

Does anyone know how to transfer files from a pc to pc ? im trying to make a file share program, i am trying to use

my.computer.network.uploadfile(**location**,**ipadress**)

but its not working anybody now how??