tagged [ftp]

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

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...

3 Dec at 12:19

Downloading all the files in a directory with cURL

Downloading all the files in a directory with cURL I am using cURL to try to download all files in a certain directory. here's what my list of files looks like: ![enter image description here](https:/...

25 Sep at 06:28

Parsing FtpWebRequest ListDirectoryDetails line

Parsing FtpWebRequest ListDirectoryDetails line I need some help with parsing the response from `ListDirectoryDetails` in C#. I only need the following fields. - - - Here's what some of the lines look...

14 Oct at 15:33

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

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 ...

19 Feb at 15:25

Differences between SFTP and "FTP over SSH"

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](http://sourceforge.net/projec...

4 Jul at 05:1

Upload file to FTP using C#

Upload file to FTP using C# I try upload a file to an FTP-server with C#. The file is uploaded but with zero bytes. ``` private void button2_Click(object sender, EventArgs e) { var dirPath = @"C:/Do...

16 Aug at 06:23

FTP File Upload with HTTP Proxy

FTP File Upload with HTTP Proxy Is there a way to upload a file to a FTP server when behind an HTTP proxy ? It seems that uploading a file is not supported behind an HTTP Proxy using .Net Webclient. (...

19 Sep at 17:20

Wordpress plugin install: Could not create directory

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 f...

13 Apr at 12:9

How to use passive FTP mode in Windows command prompt?

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: ``` ...

3 Mar at 13:54

SSH.NET - No suitable authentication method found

SSH.NET - No suitable authentication method found This is my code using SSH.NET It works on a SFTP I installed on my local computer but when I point it at a real SFTP server from a client I get a Renc...

19 Jan at 20:3

Pure-FTPd user number X of Y?

Pure-FTPd user number X of Y? When I connect to my private ftp account via filezilla : What does it mean: "You are user number 7 of 100 allowed" I hope I'm the only one who connects to this ftp accoun...

1 Nov at 08:33

How to check if an FTP directory exists

How to check if an FTP directory exists Looking for the best way to check for a given directory via FTP. Currently i have the following code: ``` private bool FtpDirectoryExists(string directory, str...

30 Mar at 07:28

How to download a file via FTP with Python ftplib

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 ...

9 May at 06:27

Get File Size On An FTP in C#

Get File Size On An FTP in C# I want to get the size of a file on an FTP. ``` //Get File Size reqSize = (FtpWebRequest)FtpWebRequest.Create(new Uri(FtpPath + filePath)); reqSize.Credentials = ...

15 Nov at 14:53

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

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: Howe...

24 Jun at 15:37

Upload a file to an FTP server from a string or stream

Upload a file to an FTP server from a string or stream I'm trying to create a file on an FTP server, but all I have is either a string or a stream of the data and the filename it should be created wit...

30 Aug at 12:2

Retrieving creation date of file (FTP)

Retrieving creation date of file (FTP) I'm using the `System.Net.FtpWebRequest` class and my code is as follows: ``` FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://example.com/folder"...

15 Dec at 19:58

Upload file on FTP

Upload file on FTP I want to upload file from one server to another FTP server and following is my code to upload file but it is throwing an error as: > The remote server returned an error: (550) File...

15 Dec at 11:38

How to List Directory Contents with FTP in C#?

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 wan...

26 Feb at 15:45

FtpWebRequest Download File

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 = (...

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

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, ...

24 Mar at 09:4

Is it possible to do "Active" mode FTP using FtpWebRequest?

Is it possible to do "Active" mode FTP using FtpWebRequest? Due to some firewall issues, we need to do FTP using "active" mode (i.e. not by initiating a `PASV` command). Currently, we're using code al...

22 Mar at 15:59

Unit/Integration testing FTP access

Unit/Integration testing FTP access A member of my Team is writing an application that accesses an external FTP site to download files. Having written the code we would like to be able to do integrati...

13 Jun at 10:17

How to publish asp.net core app Dlls without having to stop the application

How to publish asp.net core app Dlls without having to stop the application When i try to publish the .net core app Dlls using ftp via filezilla tool it shows an error message that the file is in use ...

Zip file is getting corrupted after uploaded to server using C#

Zip file is getting corrupted after uploaded to server using C# I am trying to file to server using `C# (Framework 4)`and following is my code. ``` string ftpUrl = ConfigurationManager.AppSettings["ft...

11 May at 09:44