Questions tagged as 'arquivo'

0
answers

Binary file to buffer in c

I am making a protocol and need to turn my files into buffer. For that I made a library. Most works, but in the data_file () function, when I load text files, I get a good result, but when I load binary files, it does not work. Detail: When I am...
asked by 16.03.2018 / 00:55
0
answers

I can not remove element from list

When I upload photos using FileUpload , I can not delete from the list where I am adding. I use this StremedContent to be set in the contentNova list every time the method is called by FileUpload . The problem is when I de...
asked by 07.03.2018 / 19:04
2
answers

Read data from java txt file and perform operations on Java

I'm doing a rental car in java I need to read from a txt the type of client (char), a range of dates (string) and the amount of passengers (int). I need to bring this data to be analyzed, for example according to the passenger qtd I make calc...
asked by 18.02.2018 / 13:28
0
answers

Find File and Replace word in XML or TXT

Hello, I have to create a DOS command line script (Windows), which finds one or several .xml files that are located in a certain directory and changes a value of a tag, this tag can be fixed, I will always search for it and change it for a pr...
asked by 29.01.2018 / 18:23
1
answer

Delete files created before 10 days ago from the current date

I'm trying to automate the deletion of some backup files that a small application I've made in swing creates, which over time will accumulate, taking up too much space in the network directory, which already has a storage limit. The list of file...
asked by 20.06.2016 / 17:38
0
answers

How to use compound links - 'file.html # section'?

I made the following button: <a href="/../totem_app/xplaces/00_menu_vitoria_xingu.html#acru" target="_parent" class="bcontraste"><b>LINK</b></a> to go to <a href="../acess/00_menu_vitoria_xingu_acess.html#acru"...
asked by 26.01.2018 / 14:23
1
answer

Make a downloadable file available in an API that returns JSON

Hello, I'm developing an API in Java. It is basically a java servlet that returns content in json (application / json). With a tomcat server. One of the answer fields is supposed to be a link to downloading a .txt file. I do not know how....
asked by 06.02.2018 / 18:03
0
answers

I can not upload files by PHP's post method

On my site I pass some files by the post method to then treat those files and add them to the database, when I run in the localhost of a message: POST Content-Length of 20314466 bytes exceeds the limit of 100 bytes in Unknown. But I change...
asked by 31.01.2018 / 13:19
0
answers

Warning: file (temp / 20180114134402 /.): failed to open stream: Permission denied

I'm trying to give file () a file in txt format but give this error use (localhost) and already tried to give permission ... follows the code: error in line: $ data = file ($ linkfile); if ($_SERVER["REQUEST_METHOD"] == "POST" && i...
asked by 14.01.2018 / 15:25
1
answer

How to change an attribute in a list of objects and write this list in a file

I have a list of conList objects that I want to change an attribute of an object and then write that list to a file, where each line of the file is an attribute of each object in the list. How do I do this? Edit: Code that I have so...
asked by 12.01.2018 / 03:47