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...
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...
- Modified
- 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 ...
- Modified
- 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...
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...
- Modified
- 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. (...
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...
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: ``` ...
- Modified
- 3 Mar at 13:54
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...
- Modified
- 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...
- Modified
- 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 ...
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 = ...
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...
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...
- Modified
- 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"...
- Modified
- 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...
- Modified
- 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...
- Modified
- 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 = (...
- Modified
- 28 Jun at 05:50
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, ...
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...
- Modified
- 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...
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 ...
- Modified
- 27 Oct at 07:3
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...