Questions tagged as 'archivo'

0
answers

How do I write in a file / file at the beginning?

I'm doing a program in which I need 2 options, one to insert at the beginning and another to insert at the end, I know how to insert it at the end which is adding the "app" flag and the cursor will be written at the end of the file, my question...
asked by 29.09.2018 / 22:20
1
answer

PHP search engine for txt files

I want to see if it is possible for the community to help me in this search engine that I am creating. Let me explain what it is, is a set of txt files that are obtained from exporting the chats of the Whastapp application. The format of thes...
asked by 24.09.2018 / 08:52
0
answers

Problem receiving file from TCP socket C #

In one part of my application I send a file from one PC to another from a TCP socket, the connection and sending the file seems to me to be perfect, there are no problems since it is very simple, here the code: IPEndPoint remoteEP...
asked by 16.09.2018 / 06:29
0
answers

Delete blank space at the end of the file (.txt)

I have a code where I make a query with php and sql server, the query brings me some records, then I create a text file (.TXT) and with a cycle while(true) I write the records and when there are no records that write I give the order b...
asked by 12.09.2018 / 21:03
1
answer

Create temporary file and open it with pandas

I am trying to create a temporary excel and open it, to later delete it. With this, what I intend to do is to be able to consult an excel without having to save anything in memory. My code is: def abrir(self): nombreFichero = "Tempora...
asked by 07.09.2018 / 10:49
0
answers

How to load data through files in a java program?

This is my code for file management package arbolBinario; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.PrintWriter; public class archivos { public archivos() {...
asked by 04.08.2018 / 18:28
0
answers

php curl $ _FILES empty (empty)

I try not to bother much with questions. I rarely do them but this is very complex. I am following the code of: link I try to send a document using CURL. When executing it, it actually receives a response from the file (php code) that th...
asked by 30.07.2018 / 08:11
1
answer

Reading files in c

#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct pila{ int clave; char nombre[50]; float salario; struct pila *psig; }pila; pila *pmaestro; pila *NuevoElem(); void push(int clave,char nombr...
asked by 03.08.2018 / 02:29
0
answers

Change high low status in a Java TXT

public void darDeBaja(Alumno obj) throws Exception { archivo.seek(0); String linea; long lineaArchivo = 0; boolean encontro = false; while((linea = archivo.readLine()) != null && !encontro) { String[] campo...
asked by 13.07.2018 / 23:58
0
answers

file_get_contents () failed to open stream

What I need is to save image on the remote server that is in a hosting: $ruta= "C:/wamp64/www/AfuncServidor/imagenes/portadaFacebook.jpg";//aquí el problema que no entiendo. $imagen = file_get_contents($ruta); $nombreFoto = substr($ruta, strr...
asked by 09.07.2018 / 01:18