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
48
votes
5 answers

A good free ftp plugin for Sublimetext 2

I am new to Sublimetext and wondering what is a good free FTP plugin to use with it. Thought the editor must have something inbuilt in it. I have seen developers use some sort of FTP plugin with it. Feedback appreciated. I am on a Mac Moutain Lion…
pal4life
  • 3,210
  • 5
  • 36
  • 57
46
votes
4 answers

Getting "I won't open a connection to" when connecting to FTP server from Google Compute Engine

I ssh'ed to my Google Compute Engine's VM. And want to ftp to another server from there. It asked my username and password, I could login without problem. But when I do ls or get, I receive this error: 500 I won't open a connection to 10.240.XX.XX…
Nur Pinar
  • 461
  • 1
  • 4
  • 4
46
votes
3 answers

File size differences after copying a file to a server vía FTP

I have created a PHP-script to update a web server that is live inside a local directory. I'm migrating the script into Python. It works fine for the most part, but after a PUT command, the size of the file appears to change. Thus, the size of the…
PabloG
  • 25,761
  • 10
  • 46
  • 59
44
votes
8 answers

FtpWebRequest Download File

The following code is intended to retrieve a file via FTP. However, I'm getting an error with it. serverPath = "ftp://x.x.x.x/tmp/myfile.txt"; FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverPath); request.KeepAlive =…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
44
votes
6 answers

FTP Delete non empty directory

I am connected to a Unix server and I am trying to, via FTP, delete the directory dir with several files in it. If I use ftp> delete dir/* I get 550 Wildcard is ambiguous. When I use ftp> prompt off Interactive mode off. ftp> mdelete dir/* I…
JonatanEkstedt
  • 905
  • 1
  • 8
  • 27
43
votes
5 answers

How to set up FTP on Azure VM

I need some help setting up FTP on my Azure VM instance. The VM is Windows Server 2012 R2. I have set up the Web Server Role and created an FTP site in IIS. I have confirmed that I can access the FTP server with ftp command: open localhost I…
ChiliYago
  • 11,341
  • 23
  • 79
  • 126
43
votes
7 answers

How to automatically FTP files that I am editing

I'm trying to figure out how to autoftp with Filezilla. Are there any other programs that do this right off the bat?
user1549397
  • 641
  • 2
  • 8
  • 15
39
votes
2 answers

How to get port in FTP protocol from passive mode?

When I entered passive mode in FTP, I have got: 227 Entering Passive Mode (213,180,204,183,230,205). First 4 numbers are the IP addresses, but what are the two last? Are they two ports?
Secret
  • 2,627
  • 7
  • 32
  • 46
39
votes
9 answers

How to script FTP upload and download

I'm attempting to make a batch file to upload a file to an FTP server. If I type it in manually it works fine, but when I run the batch file it halts after it's connected... It says: connected to domain.com. 220 microsoft ftp…
payling
  • 2,466
  • 5
  • 33
  • 44
39
votes
5 answers

Error: No such file (sftp liximomo extension)

I have this problem when I upload a file on the server using the extension liximomo/vscode-sftp for visual studio code. [error] Error: No such file at SFTPStream._transform at SFTPStream.Transform._read at SFTPStream._read How I…
Michele Cerruto
  • 414
  • 1
  • 5
  • 10
39
votes
9 answers

Are there any good free .Net network libraries? (FTP, SFTP, SSH, etc.)

I'm a bit surprised I haven't found a good open source library for performing common network tasks. There are a few very good commercial libraries, but they're too expensive to use on an open source project. Anyone know of any?
Kilhoffer
  • 32,375
  • 22
  • 97
  • 124
39
votes
2 answers

Is it possible to read FTP files without writing them using Python?

I am trying to read files using Python's ftplib without writing them. Something roughly equivalent to: def get_page(url): try: return urllib.urlopen(url).read() except: return "" but using FTP. I tried: def get_page(path): …
aensm
  • 3,325
  • 9
  • 34
  • 44
38
votes
4 answers

How do you upload a file to an FTP server?

I created a function to download files from an FTP server that I have access to. How would I upload files back to the FTP server? Below is the download_files method i used: public static void download_files(String un, String pw, String ip, String…
Mike
  • 2,299
  • 13
  • 49
  • 71
38
votes
10 answers

How to calculate size of directory on FTP?

How to calculate size of FTP folder? Do you know any tool or programmatic way in C#?
jlp
  • 9,800
  • 16
  • 53
  • 74
36
votes
7 answers

Python FTP implicit TLS connection issue

I have a need to connect to FTPS server to which I am able to connect successfully using lftp. However, when I try with Python ftplib.FTP_TLS, it times out, the stack trace shows that it is waiting for the server to send welcome message or like.…
Rg Glpj
  • 423
  • 2
  • 5
  • 10