Questions tagged [ftpwebrequest]

FtpWebRequest is a concrete class for .NET Framework applications that provides an FTP-specific implementation of the abstract WebRequest class. Related tag: [webrequest].

The FtpWebRequest class provides an FTP-specific implementation of the WebRequest class.
Implements a File Transfer Protocol (FTP) client.

MSDN documentation for FtpWebRequest.

612 questions
0
votes
1 answer

How to solve FTP 550 error "access is deny" because bad connection while uploading

How to solve FTP 550 error "access is deny" because bad connection while uploading. I'm sure that my server already give permission because sometimes I can upload without problem. I'd read some post say that this happen because server had got slow…
Zen3515
  • 309
  • 4
  • 12
0
votes
0 answers

FtpWebRequest Error

I'm running the following: try { var ftpWebRequest = (FtpWebRequest)WebRequest.Create("ftp://webftp.ftp.com"); ftpWebRequest.Credentials = new NetworkCredential("user", "password"); …
Dan Hall
  • 1,474
  • 2
  • 18
  • 43
0
votes
1 answer

FtpWebRequest and foreign characters/utf-8 characters

When using FtpWebRequest to list files and folders, can I list names with foreign characters? A file name with 3 Chinese characters will come accross as "???" when enumerating files with FtpWebRequest: -rwxr-xr-x 1 user group 1800…
user237281
0
votes
4 answers

FtpWebRequest Connecting to an AS/400

I need to download some files via ftp from an old AS/400 server. My code looks more or less like: FtpWebRequest _request = (FtpWebRequest)WebRequest.Create("ftp://ftpaddress/FOO.CSV"); _request.Credentials = new NetworkCredential(_ftpUsername,…
Dana
  • 32,083
  • 17
  • 62
  • 73
0
votes
1 answer

C# FtpWebRequest - special character "§" in password

I have got a problem using FtpWebRequest with the special character "§" in password. The code looks like this: FtpWebRequest reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://ftphost")); reqFTP.Method =…
k3flo
  • 355
  • 4
  • 9
0
votes
2 answers

Size of zip increases when downloading with FtpWebRequest

I have some utility class for internal use which downloads files from an FTP server. In the past all of these have been flat text files and it has worked without any problems. However, we now have some compressed file I want it to download. When…
evanmcdonnal
  • 46,131
  • 16
  • 104
  • 115
0
votes
1 answer

WCF service upload large file to ftp server

I am developing one windows phone application which upload images zip file to ftp server. But I can't upload it. It gives an error Remote server Not found Here is my WCF application web.config
Ajay
  • 6,418
  • 18
  • 79
  • 130
0
votes
5 answers

Downloading multiple files from FTP server

I've multiple files on a ftp server.I do not know the names of these files except that they are all. xml files. How do I programmatically download these files using .Net's FtpWebRequest? Thanks.
Ed.
  • 1,654
  • 7
  • 20
  • 33
0
votes
1 answer

How to get an FtpWebResponse description for a given ftp exit code?

I have an FTP class that I can get the response code (or description) as expected: FtpWebResponse response = (FtpWebResponse)request.GetResponse(); response.StatusCode; Due to a bug in mono for uploading, we have coded a work around…
Barry
  • 417
  • 6
  • 18
0
votes
1 answer

I cant connect FTP Server

When I was trying to connect FTP Server in browser or .NET, I can't connect. Bu When I was using Filezilla, I connect, and upload/donwnload files. I tried the following options. 1- When I try with Filezilla, I connect. 2- I did tracert in cmd and I…
Erkan
  • 35
  • 1
  • 10
0
votes
1 answer

Could not found FtpWebRequest in windows phone

I am uploading one XML file to web server using FTP IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication(); using (IsolatedStorageFileStream isoStream = new IsolatedStorageFileStream("test.xml",…
Ajay
  • 6,418
  • 18
  • 79
  • 130
0
votes
1 answer

c# ftpwebrequest performance

I have an application that download files from a Unix FTP server. It works fine, just have this performance problem: Files which size is <= 1K takes in average between 2084 and 2400 milliseconds to download, while applications like Filezilla…
user2232787
  • 135
  • 2
  • 8
0
votes
0 answers

FTPS throws a "The server committed a protocol violation" error when trying to connect

I'm developing a small application to upload a file via ftps implicit ssl but I've reached the point where it's trying to connect and I catch the error saying 'The underlying connection was closed: The server committed a protocol violation'. I have…
user2088244
  • 1
  • 1
  • 4
0
votes
1 answer

Error: (502) Command not implemented. Using FtpWebResponse .net

Aright, so here's how it goes I'm trying to set a up a polling system to pull log files from several laser systems each with their own ftp. However, I'm running into difficulty when attempting to call the FtpWebResponse call to download the log file…
Levi Jordan
  • 13
  • 1
  • 1
  • 4
0
votes
2 answers

Uploading file to FTP

I'm having some trouble with uploading a file to a FTP server from C#. My code works well on localhost, but on the live environment it keeps giving me a The operation has timed out. exception. I use the following code: FtpWebRequest request =…
bomortensen
  • 3,346
  • 10
  • 53
  • 74