Transfer PC to PC

kimosavi

Active member
Joined
Apr 9, 2009
Messages
34
Location
Chicago, IL
Programming Experience
3-5
I have a small dilema and will like some assistance (or a push) into the right direction.

I want to develop a simple application to transfer files from one PC to another via the internet.

read many post but not sure which is the fastest and easiest way to go.

the idea: have an app to select which files I want to share, then other members when they log into their app they will see my share files and will be able to download them.

PCs will all be remote, sometimes maybe behind client's firewall.

any ideas on where to start? :confused:
 
Hello.

I know that you're looking for programming tips here, but there are already ready-to-use solutions out there: tinc Wippien

Otherwise, if you want to write it yourself, have a look at the Socket-class. Some pseudo-code to it

VB.NET:
Socket.AcceptConnection()
Socket.ReadLine()

' encryption of both what be an idea...md5 or similar would be enough...to make it even more secure you could throw in some random credentials, like date etc.
If _readLine = "username:password" Then
      Socket.Send(File.Length)
      Socket.Send(File)
End If

Socket.CloseConnection()

Also, setting up your own FTP might work.

Bobby
 
Thanks Bobby,

I think i can find a solution in one of the two files you send, but it is more of an educational process and will want to incorporate into whatever i have right now.

i will keep studying and researching into sockets to have a better understanding.

any info you might think relevant, let me know.

TCP/IP has a max transfer of 2GB per file? is this true?
 
Back
Top