Questions tagged as 'arquivo'

1
answer

Is it possible to copy files without using stream buffer?

In my application, I have a class that periodically backs up a pretty small (less than 1MB) file, but I'm doing some testing and after reading this answer , it seems to me that it has been suggested that you can make copies without having to us...
asked by 05.12.2016 / 11:58
2
answers

How to use Filter in FolderBrowserDialog

I would like to know how do I put a filter on certain files using C #. Well, it's more or less like this, I'm doing an application in C # that should open some types of files (in the case .frm), in the "manual" part that would be when the use...
asked by 15.12.2014 / 16:52
1
answer

File There is PHP

I'm using this function to check if the file exists: <?php header('Content-Type: text/html; charset=utf-8'); //header('Accept-Ranges: bytes'); $nome_real = $_FILES["Arquivo"]["name"]; $pastadestino = "/pasta/$nome_real";...
asked by 24.11.2015 / 03:15
1
answer

Why is it possible to open serial ports (COM) on windows using file functions?

How does this happen? There are other ways to open or just say this, in languages like C, PHP, Python, etc.     
asked by 19.10.2015 / 07:18
1
answer

How to use escape characters in a C # string?

I am not able to scan a file containing the EICAR (Standard File for Anti-Virus Scanning) characters, because it contains escape characters such as "\", "()", "[]". I need help identifying these characters in my program as being normal inside a...
asked by 17.10.2014 / 02:49
1
answer

File Comparison

I need to compare different directory files and show the differences. But I do not want to list the name of the files, I just want you to do a comparison of the directories and show the differences of the files. These files would be .cs ....
asked by 21.01.2016 / 12:07
2
answers

When I use ObjectOutputStream are the attributes of the parent class also written?

When I use ObjectOutpuStream to write to file, will the parent class attributes also be written?     
asked by 10.02.2014 / 12:53
4
answers

An algorithm to find duplicate files?

I need to make a program that finds duplicate files on my computer, so the user can decide what action to take with these files (eg delete the copies). For now, I only worry about a binary comparison between files (that is, the file is only dupl...
asked by 30.01.2014 / 13:18
1
answer

How to read a list of serialized objects saved in a file in java? [duplicate]

I was looking to work with serialization in java files and read this tutorial on how to write the object in the file and this one on the how to read the file object Then I created the following class that saves the Adreess object in the...
asked by 17.10.2017 / 00:53
2
answers

Should I compress files to save to the database?

   I do not want to take into account whether saving files in the database is good practice. Since many systems save the files (images, pdf's, doc's, etc) in the database, I'd like to know if it's a good practice to compress these files by z...
asked by 26.02.2016 / 21:16