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
-1
votes
1 answer

How to list ftp directories by using FtpWebRequest in C#?

I need list ftp site directory with username and password, and I can access it in FileZilla. The Directory structure in FileZilla is like below, / FtpDir Input Input Archive Output Output Archive However, when accessing it in…
psbookmark
  • 105
  • 1
  • 12
-1
votes
1 answer

FTP file To Server

I am currently using FTPwebRequest to move a local file over to a server. I am able to FTP to the root directory at ftp://ftp.xxxx.com. But, whenever I try to FTP the file to a folder within that directory like: ftp://ftp.xxxx.com/firstfolder…
Hunter Zolomon
  • 97
  • 1
  • 2
  • 9
-1
votes
1 answer

VB.NET FTP Explorer

I try this source and video but on connect to ftp i get error on connecting. Source: Imports System.IO Imports System.Net Public Class MainForm Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load …
Javad
  • 373
  • 4
  • 20
-1
votes
1 answer

Stream writes only 512 bytes to a file on FTP server using C#

I'm trying to copy a file from my local computer to an FTP server using C#. When I use the code below, the file is fully copied to the FTP server but **the original lines are cut into pieces of only 512 bytes long while they should be 1152,1126 or…
DeGoosseZ
  • 628
  • 5
  • 20
-1
votes
1 answer

Why doesn't FTP request allow "%20"?

I am making an FTP request and whenever the parameter remoteFilePath contains a string with "%20" I get an error that the file cannot be found. How can I get around this? Dim remoteFileWriteTime As Date =…
Programmer
  • 459
  • 5
  • 20
-1
votes
2 answers

C# FtpWebRequest fails

This code fails. Any help please. Thanks using System.net using System.IO string uri = "https://xyzabc.com//Mats//"; FtpWebRequest reqFTP; // Create FtpWebRequest object from the Uri provided reqFTP = (FtpWebRequest)FtpWebRequest.Create(new…
user2982029
  • 84
  • 11
-1
votes
1 answer

Unknown command FEAT when accessing FTP server

I just created an FTP server based on the code provided here http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7409/A-C-FTP-Server.htm . Then I installed Nuget packages for FtpClient, so that I can create a test FTP client which…
sanmis
  • 515
  • 1
  • 7
  • 22
-1
votes
1 answer

Get Binary File List from Remote server

I'm developing a system that need to download binary files from a server folder. In here I will check before downloading whether they are in my local folder.so I need to get list of the *.bin files. I have tried code in below, but it generate list…
iJay
  • 4,205
  • 5
  • 35
  • 63
-1
votes
4 answers

Read a CSV file from FTP Server Using C#

I am trying to read a CSV file from ftp server using c# but problem is it does not allow me to read and throwing this error The remote server returned an error: (530) Not logged in. I have spent lot of time on researching this issue unfortunately…
Asp.Net Dev
  • 135
  • 1
  • 3
  • 10
-2
votes
1 answer

Save a file on a ftp server in a subdirectory

I have code that allows me to access a server to do ftp transactions. I have tested the connection and it works. the problem is saving files. to help paint a picture this is how the address are set up. ftp server: ftp.MyMainDomain.com path login…
chris
  • 78
  • 1
  • 15
-2
votes
1 answer

C# FtpWebRequest asynchronous download

Im saw many samples of how to upload asynchronously, but not too much information on how to download from a FTP server asynchonously. Can someone provide a small sample in c# that uses FtpWebRequest to download files asynchronously from an FPT…
user2232787
  • 135
  • 2
  • 8
-2
votes
2 answers

How do i Download FTP root folder with its subfolder and files in C# using FTPwebRequest

I want to download A ftp directory which has its sub directories and files, I am using C# Ftpwebrequst.
user2155670
  • 9
  • 1
  • 1
1 2 3
40
41