Questions tagged [ftp]

File Transfer Protocol (FTP) is a well-established protocol for conducting file operations (such as transferring files) over a TCP-based network such as the Internet.

File Transfer Protocol (Wikipedia article) is a protocol, governed by well-established Internet standards, for conducting file operations (e.g. transferring files between two systems) over a TCP-based network such as the Internet or a local area network. FTP employs a client-server architecture, where one system is the "client", which opens a connection to the other system, the "server", the client makes requests of the server, and then closes the connection.

The most common FTP operations that a client will initiate include downloading files (i.e. "get" files from the server) and uploading files (i.e. "put" files on the server). But there are a variety of file system related commands that the client may make of the server (e.g. making directories, renaming files on the server, deleting files from the server, etc.).

14199 questions
3
votes
2 answers

LFTP: save username/password for specific server?

Can I save a username/password pair for an ftp server in some local configuration file, so that lftp will find them automatically when connecting to that server? Background: I have script which will be used by multiple users, with different…
PLL
  • 1,572
  • 1
  • 13
  • 21
3
votes
3 answers

Is there any way to get the FTP deployment hostname programatically?

I'm in the process of getting a deployment that targets Azure App Service automated and I'm using FTP deployment. Unfortunately, the hostnames for FTP deployment seem different from app to app and I'd like my scripts to be able to infer the correct…
Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112
3
votes
1 answer

Spring Integration ftp inbound channel adapter recursive synchronization

With Spring Integration, is it possible to synchronize files (including subfolder's files) recursively using ftp inbound channel adapter?
3
votes
2 answers

FTP site works but I'm unable to connect from Java program. I get java.net.UnknownHostException

Greetings folks. I have this weird problem. In the project I'm working on now, I need to upload a file to a FTP site. I have written many programs that do this before and they have worked just fine. But this particular site is giving me trouble.…
Karthic Raghupathi
  • 2,011
  • 5
  • 41
  • 57
3
votes
1 answer

Bridged network connection in Dockerfile

I have this Dockerfile : FROM php:5.6-cli VOLUME /usr/src/up WORKDIR /usr/src/up RUN docker-php-source extract \ && docker-php-ext-install pdo pdo_mysql && docker-php-source delete RUN echo "date.timezone = Europe/Paris" >>…
Toma
  • 97
  • 2
  • 13
3
votes
0 answers

Firefox 51 fails to load img data via ftp

I have just stumbled across some behavior that looks weird to me. There is a small static test page on my webserver that has the following code:
Dima Chubarov
  • 16,199
  • 6
  • 40
  • 76
3
votes
3 answers

How to copy the contents of an FTP directory to a shared network path?

I have the need to copy the entire contents of a directory on a FTP location onto a shared networked location. FTP Task has you specify the exact file name (not a directory) and File System Task does not allow accessing a FTP location. EDIT: I ended…
Jon Erickson
  • 112,242
  • 44
  • 136
  • 174
3
votes
1 answer

FTP over SSL to z/OS to List Directory Files

I'm trying to connect to a z/OS FTP server to download files but first I need to list them in order to find out which is the most recent. The server has an unknown certificate I have to trust and I've used the code below which included a warning…
gh0st
  • 1,653
  • 3
  • 27
  • 59
3
votes
1 answer

Restrict accesible files and directories on Apache MINA FtpServer

I've adopted Apache FtpServer as a library of my file sharing app. However I expose that I can set the permission of files/directories. e.g. I have many files/directories under home directory, but I just want to make only the ~/A/, ~/B/, ~/c.txt…
Qiang
  • 455
  • 5
  • 15
3
votes
1 answer

Error after FTPS transfer finishes with Python ftplib

I'm trying to upload file into FTPS server (Wing FTP Server / Cerberus FTP Server 8) with following script. from ftplib import FTP_TLS ftps = FTP_TLS('192.168.133.69') ftps.login('1011', '7c52xK9') ftps.prot_p() filename = 'upload.pdf' myfile…
M.H.
  • 223
  • 3
  • 10
  • 23
3
votes
2 answers

Download FTP file from a (specific) server works on .NET 4+, but doesn't work on .NET 2.0

Update (the reason of this issue): Okay, I managed -with the help of @MitchelSellers's comment- to figure out where the problem exactly is, and I'm trying to find a solution for it. Obviously this server doesn't allow the command CWD (change…
3
votes
1 answer

Resuming FTP downloads with inets FTP server

I have an ftp://host/path URL and want to download the file and resume download if connection is lost in Erlang. Starting the download is easy enough using the ftp module, but how can I resume it?
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
3
votes
2 answers

Upload directory to FTP ( Android )

I want to upload directory to my FTP server. This is the code that i use to upload a "single file" to my ftp server, I want to know if there is something that can help me to upload all pictures ".jpg" in this folder "mnt/sdcard/DCIM/Camera" to my…
J.mayer
  • 73
  • 1
  • 8
3
votes
0 answers

Why doesn't rsync work when connecting to NCBI's FTP server home page?

I'm currently trying to update some code at work. I previously created a script with an up to date version of Python that logs a users path choices on NCBI's FTP webiste (ftp://ftp.ncbi.nlm.nih.gov/). The log was used to update my file system with…
grabear
  • 79
  • 9
3
votes
4 answers

Computing progress (bar) using GZipStream

I'm reading a .gz file from some slow source (like FTP Server) and am processing the received data right away. Looks something like this: FtpWebResponse response = ftpclientRequest.GetResponse() as FtpWebResponse; using (Stream ftpStream =…
Sam
  • 28,421
  • 49
  • 167
  • 247
1 2 3
99
100