Questions tagged as 'ftp'

0
answers

Configure root directory of FTP access debian

Hello, configure a web server and an FTP server (proFTPd) in must, so far everything is ok but I still need to get a specific directory automatically when connecting through an FTP client. eh read that to achieve this it is necessary to modif...
asked by 21.02.2017 / 08:39
0
answers

Problem when uploading an FTP file using an Asynctask

I have a problem with uploading a file to my ftp server: The problem is not that the file does not upload, or that I can not connect to the FTP server (in my local network) ... The problem is that after connecting, upload the file, the connectio...
asked by 21.01.2017 / 14:57
0
answers

Download files from a server to a client

I can not download the file and of course the wrong line is in the FileInputStream part, I can not get the client to receive the file he wants, any suggestions to download a file from a server to a client? without apache libraries. public void...
asked by 17.04.2017 / 01:00
0
answers

Problems with permissions when using the tempnam () php function

I am creating a pdf in a temporary directory with the tempnam function As follows: $tmpfname=tempnam("/tmp","argprocesor"); file_put_contents($tmpfname.".rtf", $pdf); exec("unoconv -f pdf ".$tmpfname.".rtf"); header("Pragma:"); header("Cach...
asked by 15.08.2016 / 22:22
2
answers

How could I read a file.txt line by line and pass those values to a Python file?

with open("login.txt") as fichero: dirServer = fichero.readline().split(":")[1].strip() usuario = fichero.readline().split(":")[1].strip() passwd = fichero.readline().split(":")[1].strip() datos = {} busco = ['dirServer', 'usuario',...
asked by 25.10.2018 / 10:50
1
answer

Using Filezilla from the Windows command line

Good afternoon, I'm trying to upload a compressed file to a ftp directory via the command line. I have managed to access filezilla and place myself in the directory where the content is to be uploaded, but I have not been able to find the op...
asked by 28.06.2017 / 17:59
1
answer

How to store folder name created in variable to be used by FTP?

I'm trying to make a script that creates a folder with the name of the day and then in that folder put a file downloaded by ftp The part of creating the folder is done which is the following: cd.. cd.. cd Carpeta mkdir %date:~-4,4%%date:~3,...
asked by 29.11.2018 / 17:04
1
answer

How to upload a temporary file to an ftp server?

I have the following situation, I want to upload a temporary file to an FTP server, I have the following code: public static void uploadFileFtp(String file,FTPClient client,String name) throws IOException { File files = File.createTemp...
asked by 27.10.2018 / 19:10
2
answers

How can I upload a file to my server using PHP, AJAX, JAVASCRIPT?

I have problems uploading a file to my server, I CAN NOT read the $ _FILES ['file'] ['name'] after having gone through AJAX, I use the following code: HTML index.php <html> <head> <meta charset="UTF-8"> <scrip...
asked by 26.10.2018 / 07:45
1
answer

problem when copying file from local and moving it to ftp server c #

I have to copy an .exe from a local folder and move it to an ftp server, in doing so, the .exe becomes a larger file and does not let me run it. This is the code I have: public static void FtpBkAndUploadNewVersion(string direccionIP, string us...
asked by 31.10.2017 / 16:47