ftpwebrequest Questions

16

I have created a small windows forms application to upload the file to one of our client's ftp site. But the problem that I'm having is that when I run this application on my local machine it uploa...
Contrabass asked 4/7, 2013 at 13:37

2

Solved

Is there any way to deal with situation when you need to get list of all directories on a FTP server, where the number of directories is so big that it takes too long to get it and operation fails ...
Washday asked 10/2, 2012 at 15:47

6

Solved

I am being asked to support implicit and explicit FTPS (also known as FTPES). We are currently using the .NET FtpWebRequest. Does the FtpWebRequest support both types of FTPES, and what is the diff...
Phrygian asked 3/12, 2009 at 19:9

5

Solved

I need to use FtpWebRequest to put a file in a FTP directory. Before the upload, I would first like to know if this file exists. What method or property should I use to check if this file exists?...
Che asked 7/12, 2008 at 18:44

2

Solved

I have an annoying problem preventing me to get a file I need in an FTP. This file may have differents names so I need to access the folder first and list files inside to do a request directly to t...
Hawger asked 9/10, 2020 at 7:24

4

I have a .NET client application that tries to ftp over a file to an FTP site which has a self-signed TLS/SSL certificate. This FTP site is running on Windows 7 Enterprise, IIS 7. I am getting the ...
Elliott asked 20/7, 2012 at 20:0

2

I can download FTP files, but the download code does not have a resume facility and multi part files download. Because there are file larger than 500 MB, I can't download them continuously, because...
Clementeclementi asked 13/6, 2011 at 13:33

11

Solved

Looking for the best way to check for a given directory via FTP. Currently i have the following code: private bool FtpDirectoryExists(string directory, string username, string password) { try ...
Platform asked 4/5, 2010 at 21:35

8

Solved

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 = (FtpWebRequest)WebRequest.Cr...
Last asked 6/5, 2010 at 14:5

2

I make the file transfer application using ASP.NET with C# in which I transfer the files from the FTP location to my server location. This is working fine from last 5 years, but after that now I am...
Classless asked 9/10, 2019 at 5:51

1

Solved

I am trying to open an FTP connection over SSL in my code. I'm able to connect and list a directory using FileZilla of WinSCP. But when listing the directory through .NET code using FtpWebClient, I...
Disfigure asked 8/1, 2021 at 21:12

1

I'm trying to upload files to an FTP, and have been doing so successfully until today. Here (at work) I've never had issues, but in production on-site we have had sporadic issues, but now today all...
Relieve asked 3/9, 2015 at 18:43

3

The problem: A client requires that we upload extracted data from our system to their box.com platform, rather than our normal SFTP utility. I have box.com credentials, and am aware they require F...
Inarch asked 3/6, 2016 at 5:49

3

This is my code FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.Create(FTPAddress); ftpRequest.Method = WebRequestMethods.Ftp.ListDirectoryDetails; FtpWebResponse response = (FtpWebResponse)f...
Pyxis asked 22/12, 2014 at 14:35

1

Solved

I have built a PowerShell script for downloading files from a FTP server. This script is working with all the servers I have tested with expect one. For this one server the script is able to connec...
Williamsen asked 8/4, 2020 at 20:5

1

I would need to upload a folder (which contains sub folders and files) from one server to another from C# code. I have done few research and found that we can achieve this using FTP. But with that ...
Cariotta asked 30/3, 2020 at 6:27

4

Solved

I created FTP code to transfer files. This code works fine except that it sometimes causes an error 500. The exact error is - Error: System.Reflection.TargetInvocationException: Exception has bee...
Handmedown asked 19/1, 2014 at 19:10

5

I am trying to use the ftpWebRequest in c# my code is // Get the object used to communicate with the server. FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://192.168.20.10/file.t...
Volvulus asked 27/4, 2012 at 14:5

3

Solved

My code is experiencing a time out exception after exactly 30 minutes when downloading a large file over FTP. The server is FileZilla running on Windows. We have an SSL certificate configured with ...
Suppletion asked 15/2, 2018 at 19:24

1

Solved

I have written a function which move files from FTP server to Azure Blob storage. I want to pass the stream from FTP to blob so that I can upload the files. I am running a while loop for every file...
Miff asked 21/12, 2018 at 6:56

7

Solved

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 unavailable (...
Tical asked 14/4, 2012 at 6:49

9

Solved

I have a program that needs to move a file from one directory to another on an FTP server. For example, the file is in: ftp://1.1.1.1/MAIN/Dir1 and I need to move the file to: ftp://1.1.1.1/MAI...
Infield asked 1/2, 2011 at 16:8

2

Solved

I am working on a PowerShell script, which will pull files from an FTP site. The files are uploaded to the FTP site every hour so I need to download the most recent one. The code I currently have d...
Readus asked 28/11, 2016 at 13:39

18

I have an application written in .NET 3.5 that uses FTP to upload/download files from a server. The app works fine but there are performance issues: It takes a lot of time to make connection to t...
Minimum asked 19/6, 2009 at 7:2

5

Solved

I have this working code from this link, to upload a file to an ftp site: ' set up request... Dim clsRequest As System.Net.FtpWebRequest = _ DirectCast(System.Net.WebRequest.Create("ftp://ftp.mys...
Kristofer asked 10/1, 2012 at 19:25

© 2022 - 2024 — McMap. All rights reserved.