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
27
votes
3 answers

Transfer raw binary with apache commons-net FTPClient?

UPDATE: Solved I was calling FTPClient.setFileType() before I logged in, causing the FTP server to use the default mode (ASCII) no matter what I set it to. The client, on the other hand, was behaving as though the file type had been properly set.…
Chris Suter
  • 1,338
  • 2
  • 9
  • 9
27
votes
2 answers

How to get FTP file's modify time using Python ftplib

I'm trying to load a CSV file to Amazon S3 with Python. I need to know CSV file's modification time. I'm using ftplib to connect FTP with Python (2.7).
Uygar
  • 273
  • 1
  • 3
  • 6
27
votes
9 answers

What's the best way to automate secure FTP in PowerShell?

I'd like to automate the FTP download of a database backup file using PowerShell. The file name includes the date so I can't just run the same FTP script every day. Is there a clean way to do this built into PowerShell or using the .NET…
Eric Ness
  • 10,119
  • 15
  • 48
  • 51
27
votes
10 answers

How to use GVIM to edit a remote file?

I use GVIM on Ubuntu 9.10. I'm looking for the right way to configure GVIM to be able to edit remote files (HTML, PHP, CSS) by for exemple ftp. When i use :e scp://username@remotehost/./path/to/file i get: error detected while processing BufEnter…
LaTulipe
  • 271
  • 1
  • 3
  • 3
27
votes
10 answers

Wordpress Plugin Installation - Failed to connect to FTP Server - Safest Solution?

I succesfully set up a VPS LEMP-stack with Wordpress. When I am trying to install plugins from the WP backend, I am prompted with the following message: To perform the requested action, WordPress needs to access your web server. Please enter your…
user3046831
26
votes
5 answers

What is the fastest way to transfer files over a network (FTP, HTTP, RSync, etc.)

I'm trying to figure out the best way to transfer large amounts of data over a network between two systems. I am currently looking into either FTP, HTTP, or RSync, and I am wondering which one is the fastest. I've looked online for some answers…
oneself
  • 38,641
  • 34
  • 96
  • 120
26
votes
7 answers

What is the maximum file size I can transfer using HTTP? And using FTP?

Added: I am conducting a study for a new system we're going to develop in my work. It consists in authenticating users, displaying what files they want to download and downloading them. Also, if the files are not readily available, the user can't…
Thiago Chaves
  • 9,218
  • 5
  • 28
  • 25
26
votes
6 answers

Uploading file through FTP using PHP

I'm curious how to upload file through FTP using PHP. Let's say I have upload form and user have uploaded a file. How to transfer the file (without moving from temp directory) to some FTP host using PHP?
Paul
  • 1,928
  • 8
  • 24
  • 32
26
votes
3 answers

FTP to Azure Blob Storage

I had to setup secure FTP to Azure Blob Storage using popular FTP clients (like FileZilla, for example). After doing lot of research, I came across a link that says: Deployed in a worker role, the code creates an FTP server that can accept…
techV
  • 935
  • 3
  • 23
  • 41
26
votes
4 answers

How to connect to FTPS server with data connection using same TLS session?

Environment: I'm using Sun Java JDK 1.8.0_60 on 64-bit Windows 7, using Spring Integration 4.1.6 (which internally appears to use Apache Commons Net 3.3 for FTPS access). I'm attempting to integrate with our application an automatic download from…
user65839
26
votes
4 answers

How to know if file is complete on the server using FTP?

I have a file scanner application in Java, that keeps scanning a directory on a server using FTP. gets list of files of the directory and downloads them one by one. on the other side, on the server, there's a process that writes these files. if I'm…
mostafa.S
  • 1,452
  • 4
  • 16
  • 27
25
votes
7 answers

How to use linux command line ftp with a @ sign in my username?

How can I run this on linux command line when my username has an @ sign in the middle? ftp -u user:password@host/destination_folder/ sourcefile.txt My username is info@domain.com and it thinks my host is domain.com. NOTE: This is an unattended…
bentford
  • 33,038
  • 7
  • 61
  • 57
25
votes
4 answers

how to view the content of a file in unix in ftp mode of DOS?

How can I view the content of a file (on a Unix server) when I log into Unix from the Windows command prompt in FTP mode? I tried vi,cat and ed but none of them works.I can view the files using ls -l, but can't view the content. If there is any…
user893096
  • 443
  • 2
  • 5
  • 8
25
votes
18 answers

FTP Error 530 User cannot login

I am trying to FTP to a new FTP site I setup with IIS 7.0 for the Windows Server Web (64-bit) edition. But I get the above error when I try to login to this site. But I can login to my other FTP sites. Also, when I select this website from IIS…
salvationishere
  • 3,461
  • 29
  • 104
  • 143
25
votes
6 answers

PHPStorm FTP Connection Fails

Hey I am having an issue connecting with FTP in PHPstorm. I know I have the correct parameters because it works in other FTP clients. The error I get is: Could not list contents of the folder "ftp://real-meal.com/" The port is set to 21, as it…
newms87
  • 834
  • 1
  • 10
  • 23