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
93
votes
6 answers

How do I add FTP support to Eclipse?

I'm using Eclipse PHP Development Tools. What would be the easiest way to access a file or maybe create a remote project trough FTP and maybe SSH and SFTP?.
levhita
  • 2,161
  • 2
  • 21
  • 31
93
votes
9 answers

What Java FTP client library should I use?

Since I received no positives answers to my last question. I will try to write a Java FTP upload applet myself. My question is: "Can you recommend a Java FTP client library for me to use?" I want it to be: stable able to handle passive and active…
Tader
  • 25,802
  • 5
  • 26
  • 27
92
votes
1 answer

Difference between wscript and cscript

What is the difference between cscript and wscript? Which is best for doing Telnet and FTP automation in Windows?
rashok
  • 12,790
  • 16
  • 88
  • 100
90
votes
9 answers

Python: download a file from an FTP server

I'm trying to download some public data files. I screenscrape to get the links to the files, which all look something like this: ftp://ftp.cdc.gov/pub/Health_Statistics/NCHS/nhanes/2001-2002/L28POC_B.xpt I can't find any documentation on the…
user1507455
  • 1,083
  • 2
  • 10
  • 10
88
votes
2 answers

Directory last modified date

Am wondering when the directory last modified date is changed. I modified a file inside a particular directory (via FTP), but the directory's LMD did not change. How is it suppose to function?
Alec Smart
  • 94,115
  • 39
  • 120
  • 184
86
votes
6 answers

Which file access is the best : Webdav or FTP?

I have to develop a Java application that has to read some files on the network, edit them and put them back. The problem is that I always did (over the network) file operations through the FTP protocol. But, I recently heard about Webdav which is…
David
  • 869
  • 1
  • 6
  • 3
84
votes
11 answers

Upload files with FTP using PowerShell

I want to use PowerShell to transfer files with FTP to an anonymous FTP server. I would not use any extra packages. How?
magol
  • 6,135
  • 17
  • 65
  • 120
80
votes
2 answers

Is there a way of listing the contents of the local directory in ftp?

lcd changes local directories. ls lists files on remote directory. What I would like is lls, to list files on local directory. Is this possible? I know I can always open another terminal to do this, but I'm lazy!
Jacko
  • 12,665
  • 18
  • 75
  • 126
80
votes
7 answers

How to download a file via FTP with Python ftplib

I have the following code which easily connects to the FTP server and opens a zip file. I want to download that file into the local system. How to do that? # Open the file for writing in binary mode print 'Opening local file ' + filename file =…
Intekhab Khan
  • 1,775
  • 4
  • 18
  • 28
79
votes
21 answers

Wordpress plugin install: Could not create directory

I'm using WordPress on centos 6. I try to install a plugin. But I got this error: Installing Plugin: bbPress 2.5.9 Downloading install package from https://downloads.wordpress.org/plugin/bbpress.2.5.9.zip… Unpacking the package… Could not create…
furyfish
  • 2,055
  • 5
  • 26
  • 28
74
votes
9 answers

Java 7 prevents FTP transfers on Windows Vista and 7 if firewall is on. Any ideas?

Java 7 prevents FTP transfers on Windows Vista and 7. In FTP, before a file is transferred a PORT or a PASV command must be sent. As soon as one of the commands is sent the Windows Firewall closes the socket that sent it. This only happens if the…
HansA
  • 1,375
  • 2
  • 11
  • 19
73
votes
11 answers

How can I upload (FTP) files to server in a Bash script?

I'm trying to write a Bash script that uploads a file to a server. How can I achieve this? Is a Bash script the right thing to use for this?
Andrew
  • 227,796
  • 193
  • 515
  • 708
73
votes
7 answers

Using Python's ftplib to get a directory listing, portably

You can use ftplib for full FTP support in Python. However the preferred way of getting a directory listing is: # File: ftplib-example-1.py import ftplib ftp = ftplib.FTP("www.python.org") ftp.login("anonymous", "ftplib-example-1") data =…
andrewrk
  • 30,272
  • 27
  • 92
  • 113
71
votes
12 answers

How to use passive FTP mode in Windows command prompt?

In Ubuntu ftp -p for passive mode works fine. How do I do the same in Windows? I tried with quote pasv but I am getting following error: 230 OK. Current restricted directory is / ftp> quote pasv 227 Entering Passive Mode (31,170,167,221,116,239) …
user2737208
70
votes
5 answers

How do I create a directory on FTP server using C#?

What's an easy way to create a directory on an FTP server using C#? I figured out how to upload a file to an already existing folder like this: using (WebClient webClient = new WebClient()) { string filePath = "d:/users/abrien/file.txt"; …
Anthony Brien
  • 6,106
  • 7
  • 43
  • 56