Questions tagged as 'path'

2
answers

Problems with the require_once () path in php

I have the following inconvenience that I am finding it hard to decipher. I have the files distributed as follows: / |___control | |___usuarios.php |___vista |___addUser.php |___modelo | |___conexion.php |___index.php Pass the...
asked by 05.06.2017 / 04:49
1
answer

Name a backup but that does not match the previous C #

My code makes a backup of a folder, if the backup folder exists it creates another by adding "_1" and if it does not exist it creates a new one. I do not know how to do it so that when there is more than one backup folder it automatically genera...
asked by 06.10.2017 / 09:42
1
answer

Replace a route with regex. Error: "character to be escaped is missing"

I have a program that detects every time a new file is created, and I want to copy that file to a new location. My problem is that I do not know how to do to remove the piece C:\Archive and delete it for the new location. ruta = ruta...
asked by 22.02.2017 / 20:11
1
answer

Store files from a directory in array

I have to store the files of a directory in an array and then traverse that array. System.IO.DriveInfo dirOrigen = new System.IO.DriveInfo(ruta1); System.IO.DirectoryInfo dirOrigenInfo = dirOrigen.RootDirectory; System.IO.FileInfo[] fileDirO...
asked by 02.10.2017 / 11:04
1
answer

How to find the path of a folder on android?

I am using the AWS SDW (Amazon Web Services) to send data to the AWS IOT with my application. In this application I first have to connect with AWS IOT. The method to connect me needs a keyStore. I have this keyStore and I have it saved in a fold...
asked by 17.04.2017 / 16:24
2
answers

Go through directory and compare its files with those of another directory C #

I have to take the files from a directory one by one and look in another directory for a file with the same name. Once they match, I have to call mostrarResultadoComparacionPropiedades() passing their paths as parameters. My code is this:...
asked by 05.10.2017 / 09:30
1
answer

Upload file to ftp server and backup

I have to upload a file to an ftp server (local host 127.0.0.1) but before I have to make a backup of that file (with a name different from the original) from where I upload it, this second part is what I can not do . I leave what I have until n...
asked by 31.10.2017 / 10:34
1
answer

unable to start mongod

Good afternoon, I'm following a course on mongoDB created by openclassrooms . However after installing it by link it was not able to use it with the commando mongodb . In effect it tells me that there is a ERROR: dbpath (/data/db) do...
asked by 06.04.2017 / 23:27
1
answer

Default path for entering and exiting files and files in Eclipse

my question will not be accompanied by code since it is about the configuration that the project or the eclipse itself may have. Let's say that for example we use class File to create a new file with the .createFile() method ......
asked by 07.08.2018 / 12:47
1
answer

fopen does not work and SIGSEGV sends me in debug and another error in normal compilation

Basically I want to make a program that "divides" the routes in which the file is that I am specifying, that I already achieve, however I also want to access this file with everything and the route so I use fopen and place as variable the string...
asked by 28.05.2017 / 10:34