Jump to content

File manager via LAN


Recommended Posts

I'm wondering how to create a file manager (so view and copy files from-to another PC) using this method:

In order to get something:

UDPStartup()
$pc = UDPBind(@IPAddress1,951)
$recv = UDPRecv($pc,2048)
UDPShutdown()

In order to send something:

UDPStartup()
$pc_2 = UDPOpen($IPyouWANNAuse,951)
$text = "Your message"
UDPSend($pc_2,$text)
UDPShutdown()

Any ideas? It is not stricly compulsory that THIS is the right way to do what I want, the only conditions are the fact that the PCs are in a LAN...

Edited by Gianluca
Link to comment
Share on other sites

Hello Gianluca,

creating a "filemanager" like this is not an easy thing you can do in 2 or 3 hours of coding.

Think about the following points:

  • Why not use standard Explorer if you're in a LAN? :>
  • You'll need a server and a client program for this.
  • Using TCP for sending files would be better.
  • SERCURITY! How will you manage security in your client-server app? ;)

It's one thing to send text messages through network, but something completely different if you want to browse, download and upload files. :unsure:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

Hello Gianluca,

creating a "filemanager" like this is not an easy thing you can do in 2 or 3 hours of coding.

Think about the following points:

  • Why not use standard Explorer if you're in a LAN? :>
  • You'll need a server and a client program for this.
  • Using TCP for sending files would be better.
  • SERCURITY! How will you manage security in your client-server app? ;)

It's one thing to send text messages through network, but something completely different if you want to browse, download and upload files. :unsure:

All right.. gotcha!

Well, it is not so difficult to browse... the main difficult is upload/download files! Advice?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...