Questions tagged as 'arquivo'

1
answer

How to save a file in a field in SQL Server?

I would like to know how to save a file within a SQL Server com C# field. Reading in some forums I realized that there is a difference between image files and binaries. The type of file I want to save is Outlook e-mail. I'm making a sy...
asked by 02.12.2014 / 18:38
1
answer

How to limit the sending of data of a form?

I want to prevent a user from sending data more than 5 times a day; I have no way to use the database would have to be written to a txt file.     
asked by 06.12.2014 / 01:37
1
answer

Error while uploading file to the database

I'm trying to upload a file to the database. Except that instead of sending the file itself, it is sending the temporary location of it. My code looks like this: $arquivo = $_FILES['arquivo']; $name = $arquivo['name']; $file_tmp = $arquivo[...
asked by 03.10.2014 / 19:23
1
answer

String with memory garbage

I have some problems when working with files and functions, the code I'm doing should print a string in the file, but that string is garbage, and does not print which should in spite of being used normally. link #include <stdio.h&g...
asked by 15.10.2014 / 13:45
1
answer

How to find unused files in a project?

We have a web project that has changed the layout several times and many files will no longer be used. However, as there are a number of developers using files at the same time, the old files were kept until the entire change was finalized. I...
asked by 26.06.2014 / 18:53
1
answer

Read multiple objects in Java serializable file

I have a Produtos.ser file where several objects of type Objeto were written. In the code method below, I want to retrieve all objects from the file and store them in an ArrayList list. However, it only adds the first object to...
asked by 07.02.2014 / 13:49
1
answer

Read from file txt to vector of char

I have a dados.txt file with (fictitious) CPFs in the following format: 382031758-71 647900189-01 460754503-73 696170135-72 And so on, with a total of 500 cpfs. I'm trying to read each one and put char cpf[12] (because each on...
asked by 04.10.2018 / 19:45
1
answer

Get file size in Delphi even while in use

I need to get the size of a file through delphi 7 however I am getting an I / O error because the file is being used. (The file is an .exe and is open) I have tried the following codes: function TamanhoDoArquivo(arquivo: string): LongInt; v...
asked by 20.06.2018 / 19:49
2
answers

Function to read file in C [closed]

What function to use in C to read file, line by line, and on each line contains different data types?     
asked by 31.05.2018 / 18:39
1
answer

Extract the cover of an MP3, and other information with PHP

I have an MP3 file on my website, and I would like to show the cover of this MP3 on my site, have any way to get this cover with PHP, or otherwise? Type this site: link The cover and this infos, are inside the MP3 and were not placed man...
asked by 13.06.2018 / 00:37