AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   create folder (https://forums.alliedmods.net/showthread.php?t=216768)

liran530 05-25-2013 08:36

create folder
 
i try to builed mod when i write /open this is open folder with 3 files in them with the names:
players.txt
admins.txt
owner.txt
the folder be in amxmodx/data/ the name of the folder is Players

i tried but i cant to join to folder in ftp and read the folder or write or create file in folder from mod or something else

i use the command: mkdir("")

this is open the folder but i dont have any accsess to the folder i need mod with other command to open folder and write create or read from the folder

i sorry for my bad english and the best thing i really need that the create folder with accsess
the files txt i can to create alone

again i sorry for my bad english

simanovich 05-26-2013 01:17

Re: create folder
 
Quote:

Originally Posted by liran530 (Post 1958130)
i try to builed mod when i write /open this is open folder with 3 files in them with the names:
players.txt
admins.txt
owner.txt
the folder be in amxmodx/data/ the name of the folder is Players

i tried but i cant to join to folder in ftp and read the folder or write or create file in folder from mod or something else

i use the command: mkdir("")

this is open the folder but i dont have any accsess to the folder i need mod with other command to open folder and write create or read from the folder

i sorry for my bad english and the best thing i really need that the create folder with accsess
the files txt i can to create alone

again i sorry for my bad english

mk_dir creates a dir with root access, and you don't have root access.

liran530 05-26-2013 07:13

Re: create folder
 
Quote:

Originally Posted by simanovich (Post 1958538)
mk_dir creates a dir with root access, and you don't have root access.

have other function to create folder
i really need that because i dont want to open folder manually i want to create folder with mod because the mod create folder on name from mod exmple:

player 1:/openfolder MyFolderName

The mod open folder with the name MyFolderName you understand me
have maybe function to add accsess and flags to the folder or to another file?

simanovich 05-26-2013 15:02

Re: create folder
 
Quote:

Originally Posted by liran530 (Post 1958678)
have other function to create folder
i really need that because i dont want to open folder manually i want to create folder with mod because the mod create folder on name from mod exmple:

player 1:/openfolder MyFolderName

The mod open folder with the name MyFolderName you understand me
have maybe function to add accsess and flags to the folder or to another file?

You need to talk with the host company to give you access root in FTP


All times are GMT -4. The time now is 16:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.