Questions tagged as 'arquivo'

2
answers

Relate files in a directory that start with a given text

I'm working on developing a page in html / PHP where the purpose is to search for information about certain processes. For each process covered by the search filter, the page displays a set of information. My goal is to relate files from a...
asked by 22.08.2018 / 20:29
1
answer

How to check the latest file in a folder with Python?

Assuming you have a folder with several TXT files with different names and need to know the latest file, how do I do this using Python?     
asked by 20.04.2018 / 14:13
0
answers

Detect embedded source in pdf

I'm researching the possibility of building a system where a user can upload a pdf but this pdf can not contain embedded fonts, just images (it should not be possible to copy and paste the text), I'm searching for the PHP language but there is o...
asked by 25.07.2018 / 19:22
1
answer

How to check the latest file in a folder with Python?

Assuming you have a folder with several TXT files with different names and need to know the latest file, how do I do this using Python?     
asked by 20.04.2018 / 14:13
0
answers

(Automation) Create folders and files, and give permission inside another system with PHP

I'm creating an automation for a particular system and for this it is necessary that some files are created inside that system, my problem is with the permission of these files, and the permission in the folders that they will enter into the sys...
asked by 12.07.2018 / 18:25
1
answer

Create a file in another C directory

I have a folder containing my .c file, its executable, and another folder called Files. I need when the function below is executed the file is created in the Files folder and not in the folder where the .c and .exe are found. char nomeDoArquiv...
asked by 09.07.2018 / 16:28
1
answer

What is a .lock file?

I'm using git to version a project and I noticed when checking for modifications that some .json files have a file with the same name but with different extensions and content. Example: composer.lock , yarn.lock . What are they? What...
asked by 08.02.2017 / 00:36
1
answer

Variable returning 0 to file

Hello, I'm learning files I'm having a hard time using fwrite and fread, then the variable num1 is returning me 0 in the repeat structure and I think I did everything right = ( #include<stdio.h> #include<stdlib.h> int main() { FI...
asked by 15.06.2018 / 03:48
1
answer

Writing in binary file

How do I write to any position of a binary file using the fstream library, without overwriting the content already inserted in the file?   I started trying like this: ofstream salvar; salvar.open(arq_dados,ios::binary); salvar.seek...
asked by 05.06.2018 / 00:55
0
answers

Separate a string in 2 from a file

I'm having difficulty separating a query string from one file into two. the file is so alex 6461 anddre 979794 douglas 6469794 gustavo ... I want to get the characters I get in the line and divide it into 2 strings so name: alex tel: 6461....
asked by 28.05.2018 / 22:37