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

How to check if file exists on FTP before FtpWebRequest

I need to use FtpWebRequest to put a file in a FTP directory. Before the upload, I would first like to know if this file exists. What method or property should I use to check if this file exists?
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
68
votes
3 answers

How to move files using FTP commands

Path of source file is : /public_html/upload/64/SomeMusic.mp3 And I want to move it to this path : /public_html/archive/2011/05/64/SomeMusic.mp3 How can i do this using FTP commands?
Kermia
  • 4,171
  • 13
  • 64
  • 105
67
votes
11 answers

Why when I transfer a file through SFTP, it takes longer than FTP?

I manually copy a file to a server, and the same one to an SFTP server. The file is 140MB. FTP: I have a rate arround 11MB/s SFTP: I have a rate arround 4.5MB/s I understand the file has to be encrypted before being sent. Is it the only impact on…
miqwit
  • 687
  • 1
  • 6
  • 6
66
votes
3 answers

How Connect to remote host from Aptana Studio 3

I am using CODA from a long time .. now i use aptana studio 3 my Question How Connect to remote host from Aptana Studio 3? thanks
Tarek Saied
  • 6,482
  • 20
  • 67
  • 111
64
votes
4 answers

How do I mirror a directory with wget without creating parent directories?

I want to mirror a folder via FTP, like this: wget --mirror --user=x --password=x ftp://ftp.site.com/folder/subfolder/evendeeper But I do not want to create a directory structure like this: ftp.site.com -> folder -> subfolder -> evendeeper I just…
Tom Boutell
  • 7,281
  • 1
  • 26
  • 23
63
votes
6 answers

How can I unzip a file to a .NET memory stream?

I have files (from 3rd parties) that are being FTP'd to a directory on our server. I download them and process them even 'x' minutes. Works great. Now, some of the files are .zip files. Which means I can't process them. I need to unzip them…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
61
votes
9 answers

Differences between SFTP and "FTP over SSH"

While looking for an SFTP client in C# SSH File Transfer Protocol (SFTP), I've come across these two suitable projects - one and two. While trying to understand the basics, I came across this confusing Wikipedia article. What is difference between…
sundar venugopal
  • 3,080
  • 6
  • 39
  • 45
56
votes
7 answers

421 Sorry, cleartext sessions are not accepted on this server.

I'm trying to access an ftp from my web browser, but I get the following error : 421 Sorry, cleartext sessions are not accepted on this server. Any ideas?
hillspro
  • 745
  • 1
  • 5
  • 13
55
votes
10 answers

How to ftp with a batch file?

I want a batch file to ftp to a server, read out a text file, and disconnect. The server requires a user and password. I tried @echo off pause @ftp example.com username password pause but it never logged on. How can I get this to work?
user1935683
  • 601
  • 2
  • 7
  • 6
55
votes
1 answer

Android FTP Library

I'm looking for a java library that works on the android that can download and resume files from an FTP server. Does anyone know of such a library. I've found lots of client apps, but no stand alone libraries.
Darthg8r
  • 12,377
  • 15
  • 63
  • 100
52
votes
4 answers

How can I stop Filezilla changing my linebreaks?

I'm downloading a perl CGI file from a Linux web server. It has Unix linebreaks. I edit it on a Windows PC with a decent text-editor (Geany) which preserves those linebreaks. I then upload it again with Filezilla and it has DOS linebreaks, which…
AmbroseChapel
  • 11,957
  • 7
  • 46
  • 68
50
votes
5 answers

List file names based on a filename pattern and file content?

How can I use grep command to search file name based on a wild card "LMN2011*" listing all files with this as beginning? I want to add another check on those file content. If file content has some thing like LMN20113456 Can I use grep for…
zod
  • 12,092
  • 24
  • 70
  • 106
50
votes
7 answers

How to List Directory Contents with FTP in C#?

How to List Directory Contents with FTP in C# ? I am using below code to List Directory Contents with FTP it is returning result in XML format ,but i want only the name of directory not the whole content. How i Can do that ? public class…
Swapnil Gupta
  • 8,751
  • 15
  • 57
  • 75
49
votes
3 answers

Downloading all files from an FTP Server

I need to download everything from an FTP server to hosting on a different server. I have shell access only to the server I'm downloading the files to. How, using the Linux FTP command, can I download every file, creating the directories needed for…
Navarr
  • 3,703
  • 7
  • 33
  • 57
49
votes
12 answers

Error in FTP connection using domain name, username and password?

I have following details only domain name:Mydomain.com (I have not Server IP address) UserId: abc Password:123456 when I am trying to connect ftp through Filezilla or Myftp it gives error like Connection attempt failed with "EAI_NONAME - Neither…
Pallavi
  • 503
  • 1
  • 4
  • 7