SA-MP Forums Archive
Move file - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Move file (/showthread.php?tid=243357)



Move file - Ivan_Pantovic - 22.03.2011

Hello, is there any function i can use like movefile(oldplace, newplace)?
I need to move .ini files

Thanks



Re: Move file - Mike Garber - 22.03.2011

Yes - https://sampforum.blast.hk/showthread.php?tid=92246


Re: Move file - Ivan_Pantovic - 22.03.2011

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
One more plugin :/
Well, guess this is the only way it will work, thanks.


Re: Move file - Jefff - 22.03.2011

Write Your own file function ? but if You want move folder, just only plugin


Re: Move file - Zh3r0 - 22.03.2011

You can also retrieve the file's data set it into a string and use fwrite and write it into a new destination


Re: Move file - Mike Garber - 22.03.2011

Zh3r0; That will be much slower depending how big string he needs to fetch.

I don't think this plugin affects that much.


Re: Move file - Zh3r0 - 22.03.2011

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Zh3r0; That will be much slower depending how big string he needs to fetch.

I don't think this plugin affects that much.
Well, like you said, another plugin in plus!