ftpwebrequest Questions
2
Solved
I'm trying to download the contents of an FTP folder to a local folder using a this example on StackOverflow:
Downloading a list of files from ftp to local folder using c#?
The code I have at the ...
Starfish asked 20/7, 2015 at 5:8
4
Solved
I'm using the System.Net.FtpWebRequest class and my code is as follows:
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://example.com/folder");
request.Method = WebRequestMethods.Ftp...
Diverse asked 15/12, 2010 at 19:58
3
Solved
Can someone please take a look at the code below and tell me what I am doing wrong. I am just going in circles,,, any pointers greatly appreciated
public class FtpWebRequestUtil
{
private static ...
Acescent asked 21/10, 2013 at 15:6
2
We need to get about 100 very small files from a remote FTP server using vb.net.
Our company won't let us buy (or install) any 3rd party ftp libraries... so we are forced to use something like FtpW...
Holeproof asked 9/5, 2011 at 15:14
2
Solved
First I asked that: ftp directory listing timeout. Huge number of subdirs. I got the answer.
Still because I can have hundred thousands of FTP objects in the directory it could take really long ti...
Kareenkarel asked 14/2, 2012 at 19:12
3
Solved
I am trying to get the directory list of a FTPS FileZilla server using the code below :
ftpRequest = (FtpWebRequest)FtpWebRequest.Create(host + "/" + directory);
ftpRequest.EnableSsl = true;
Serv...
Breuer asked 9/10, 2014 at 12:45
1
Solved
I am having a problem connecting a Windows service to an FTP site.
I inherited a Windows service from another developer. The service connects to a 3rd party server, downloads a csv file and then p...
Faddist asked 13/6, 2014 at 16:6
2
Solved
I've created a ftp client that connects several times during the day to retrieve log files from a FTP server.
The Problem is that after a few hours I am getting an error message from the FTP serv...
Yevetteyew asked 5/6, 2014 at 1:53
7
Solved
I have a C# code that basically uploads a file via FTP protocol (using FtpWebRequest). I'd like, however, to first determine whether there is a working internet connection before trying to upload t...
Callicrates asked 26/3, 2010 at 6:58
3
Solved
I can't find an example of a simple FTP access of a file anywhere, and the FTPClient class (which a couple of examples use) doesn't appear in the Android Class Index. I've got http access working, ...
Conform asked 13/8, 2011 at 21:51
2
Solved
I am looking to download all the files in ftp to my local folder.All the files should be deleted in ftp once downloaded to local drive.
From the below code
I can download only a file from ...
Suspensive asked 11/12, 2013 at 11:46
1
Solved
I am getting a lot of different issues in this function :
public static bool UploadToFTP(string strFileName, string strFolderName)
{
bool isUploaded = false;
string strFilename = string.Empty;
...
Hapsburg asked 8/10, 2013 at 14:55
3
Solved
I am playing around with FtpWebRequest and I am wondering how can I format the result?
FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create("");
ftp.Credentials = new NetworkCredential("", "...
Sanderlin asked 19/9, 2011 at 19:57
3
Solved
I'm trying to make a simple method to download a file from an FTP using FtpWebRequest with the method WebRequestMethods.Ftp.DownloadFile. The problem is that I wan't to display the progress of down...
Inexhaustible asked 3/7, 2013 at 15:7
1
Solved
I want to download files based on their date time from a ftp server..I can access this Ftp from CuteFtp third party and every thing is Okey..but when I run the code below at line GetRespone() I get...
Gewirtz asked 16/7, 2013 at 6:59
1
Solved
I'm running a check to see if a directory exists on my FTP server:
public bool DirectoryExists(string directory)
{
bool directoryExists;
var request = (FtpWebRequest)WebRequest.Create(directo...
Cambric asked 31/1, 2013 at 22:1
2
I'm writing an application that syncs files over an FTP site. Right now it's working by connecting through regular FTP, but now our IT guys want to set this up over a secure FTPS connection.
They ...
Pyroligneous asked 8/10, 2009 at 0:7
2
Solved
I'm creating a simple drag-file-and-upload-automatically-to-ftp windows application
and I'm using the MSDN code to upload the file to the FTP.
The code is pretty straight forward:
// Get the ...
Indies asked 26/4, 2012 at 9:26
2
I wonder if it's possible to have output log for my FTP client using FtpWebRequest.
Something like this:
[R] USER xxx
[R] 331 Please specify the password.
[R] PASS (hidden)
[R] 230 Login successf...
Diglot asked 12/3, 2012 at 9:39
2
Remark: due to spam prevention mechanizm I was forced to replace the beginning of the Uris from ftp:// to ftp.
I've got following problem. I have to upload file with C# ftp method and afterwards r...
Pascual asked 14/6, 2010 at 7:32
3
Solved
I'm looking for a short bit of sample code which uses the System.Net.FtpWebRequest namespace to get the timestamp of a specified remote file on an FTP server. I know I need to set the Method proper...
Schmid asked 24/6, 2009 at 19:17
1
Solved
Im trying to check if a directory exists on an FTP server. Before you say "use ListDirectory" or "use PrintWorkingDirectory", they dont always work; for example, I tested if ftp://webserver/Logs ex...
Neigh asked 2/11, 2011 at 21:58
1
Solved
I need to list thousands of files on FTP server, and delete the necessary ones. As you can guess, performance is essential, so I need a way to reuse the FTP connection.
There is not enough explan...
Abijah asked 20/8, 2011 at 14:7
1
Solved
I try to list file details using FtpWebRequest but very frequently it fails with a WebException and shows error 530 User not logged in.
How is this possible, that it works some of the time using t...
Totalitarian asked 13/10, 2009 at 9:56
1
Solved
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 along the lines of:
// Get the object used to communicate w...
Martsen asked 22/3, 2011 at 15:59
© 2022 - 2024 — McMap. All rights reserved.