Questions tagged as 'arquivo'

3
answers

Get the extension of a file

Hello, I tried to use pathinfo() but I think I did not use it correctly, I would like to know how to use it. $arquivo_up = $_FILES['arquivo']['name']; $extensao = pathinfo($arquivo_up); $extensao = $extensao['extension']; if($extensao...
asked by 05.05.2015 / 19:06
2
answers

How to get the executable path open in C

How can I capture the path of the executable in C and put it inside a string ?     
asked by 03.09.2016 / 02:40
1
answer

How to check if a File can be created in a Folder before trying to create it in it?

My program allows the user to define a Folder, and later the program will create a New File in this Folder. However, the program is not able to create a file in any folder, for example:    Creates the new file in the folder normally:...
asked by 02.09.2017 / 22:21
1
answer

Overwriting the txt file in C

My question is pretty basic: How do I, whenever I save something to a file (txt), always start recording after the information that was already written there? I mean, how do I not overwrite the contents of a file that already had informati...
asked by 03.07.2017 / 01:05
3
answers

Is there any class in C # for manipulating properties files?

In C # you have some class for handling files properties ? In java I use the class Properties , wanted to know if it has an equivalent in C #?     
asked by 08.10.2016 / 20:45
1
answer

What is the difference between using the StandardCopyOption enum constants?

I'm implementing copy of files and decided to use the Files , and one of the method signatures copy() " is to receive 2 parameters of type Path and a third of type CopyOption and it is in this last one that I had dou...
asked by 07.12.2016 / 23:49
1
answer

How to return a file in an input type file field?

I have an html form that uploads a file and I can save it to a folder. The problem is that now I need to do the reverse operation, and return the file in that same field of type input type file so that the user can edit. Someone can give me a ha...
asked by 03.02.2015 / 11:29
2
answers

Java Desktop Application Audit Log

Thinking about a Java desktop application that is running in a company, we may come across situations where the user may cause flaws in your application, in this case could create a in> error and an audit to know which error was caused and ho...
asked by 21.10.2015 / 14:12
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
2
answers

Save user and password without using database

I'm developing an application with% of type Console , and I'm trying to save some confidential settings like username, password and IP. The problem is, how to store this data securely locally without the use of a database anywhere. For examp...
asked by 13.05.2015 / 20:54