Thread: Moving Files
View Single Post
  #2  
Old 01-26-2007, 09:37 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Chandler View Post
Is there a way to move a file by script? I've searched the Graal Bible and couldn't find anything on it! Thanks
Well, I guess you can do a copyfile(), then deletefile(). Also, I think the NPC server needs rw to the files being read and written.

If you need this for some type of clientrc, then it's better to use: requestfilesmove().
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote