Questions tagged as 'mkdir'

2
answers

Problems with permissions when creating folders on Linux server using mkdir

I have a PHP system using Laravel 4.2 where I use the mkdir command to create a folder in the storage / pdf directory, the command works in the Windows Dev environment, but when uploading to the UOL server the folders are not created properly, I...
asked by 11.07.2017 / 16:35
2
answers

How to create a directory in Python inside a server?

Using the mkdir function, you can create a file in any directory within your computer's folders: Import os diretorio = "C:\Users\CRIACAO 2\Desktop\teste" os.mkdir(diretorio) But when I try to create it inside the address of a server, the...
asked by 18.07.2018 / 22:13
2
answers

Create directories in c ++ with Linux

I want to create a directory in the home folder with c ++, but there is no way to do this in a cross-platform way. I have found that in the "sys / stat.h" library has the mkdir function that creates directories, but in addition to the directory...
asked by 22.05.2018 / 19:26
1
answer

PHP Upload files to a directory created with mkdir

I have an HTML form where I get uploaded files, in the case of an image and another with several files in PDF, I need to organize them by placing everything in a folder, for that I used mkdir, I was able to create a folder with the name that I g...
asked by 04.09.2017 / 14:17
1
answer

How to create directory and upload file

Well, I have the following question: can I create a directory with mkdir and in the same PHP code insert files coming from uploads in this created directory? For example I have a form where I get uploaded files, and I would like to create a f...
asked by 31.08.2017 / 17:36
1
answer

AO creating mkdir folder via PHP is not accessible via FTP

I am on an Apache / 2.2.22 (Debian) server, and when creating a folder to upload an image for example the folder is totally inaccessible via FTP. You can not delete or even enter the folder. $folder_name = 'pasta/date/arquivos/'; mkdir($folde...
asked by 01.10.2017 / 18:41
1
answer

mkdir does not create the directory

Even though I have permission, it does not create the directory and returns "did not create." <?php $diretorio = 'C:/xampp/htdocs/LuckTor/arquivos/'; if (mkdir($diretorio . 'teste/', 777, true)) { echo 'criou'; } else { echo 'não cr...
asked by 19.02.2017 / 20:28