ID:177328
 
How do I allow players on my game to send files?

Punkrock546
Look up the ftp() proc.
In response to Garthor
Garthor wrote:
Look up the ftp() proc.

But how do I let them choose if they want to except it or not and who to ask if they want to download it?

Punkrock546
mob/verb/SendFile(mob/M as mob in world, F as file)
if(!F) return
else
switch(alert(M,"Accept File [F]","File [F]","Yes","No"))
if("Yes")
M << ftp(F)
else return