Skip to main content

All Questions

4 votes
1 answer
6k views

PowerShell: How to access a file on an FTP server as a string?

I need to download a piece of text from an FTP server via PowerShell and get it as a string. After performing the required task, I need to upload it to the same server as a different file. The file ...
sbrm1's user avatar
  • 1,245
0 votes
1 answer
1k views

Without the connection to the ftp using c# [duplicate]

I can create a folder, I can rename the file, but I can not upload and download a file to ftp. The exception that is shown is System.Net.WebException: The remote server returned an error: (500) Syntax ...
Thiago Schulz's user avatar
1 vote
1 answer
195 views

Getting file name instead of contents when downloading file with FtpWebRequest

I'm trying to write a tool that can download shapefiles from the census bureau's TIGER FTP site, which is here: ftp://ftp2.census.gov/geo/tiger/TIGER2015/TRACT. I am able to list files just fine, but ...
siride's user avatar
  • 206k
1 vote
0 answers
2k views

Download large file 1gb+ without timeout error

I am currently trying to download a large file (1.13gb) from a ftp location and it is timing out. When I checked the download was only doing about 350mb every 10 mins on the server. Other than ...
anna's user avatar
  • 1,011
2 votes
1 answer
4k views

How to Download file from one FTP and then Upload file to different FTP?

I am trying to download a file from one FTP server, and then upload it to a different FTP. I only figured out how to upload local files and download XML via FTP so far. Here is my method to upload ...
adarom1987's user avatar
1 vote
1 answer
1k views

FTP file (.csv) download gets truncated

This downloads a .csv file using FTP. The file is 46k on the server. When I download, it gets truncated to 44k. I have no idea why ... when I view the data in Excel, it is cut short. I increased the ...
nanonerd's user avatar
  • 1,964
7 votes
3 answers
39k views

Upload file and download file from FTP

I am trying to make a program that uploads/downloads .exe file to a FTP I tried using FtpWebRequest, but I only succeed to upload and download .txt files. Then i found here a solution for ...
Spreadzz's user avatar
  • 299
0 votes
1 answer
879 views

Download files from a server

I am trying to get a list of files on a server CODE: string ftpUserID = "user"; string ftpPassword = "password"; string ftpServerIP = "192.###.###.###"; string remoteDirectory = @"\Update\...
Noelle's user avatar
  • 782
2 votes
5 answers
23k views

Download new and modified files from an FTP server

I'm trying to get a list of the files on an FTP server, then one by one check if that file exists on the local system and if it does compare the dates modified and if the ftp file is newer download it....
Noelle's user avatar
  • 782
5 votes
2 answers
31k views

Using FTP to download each file *WHILE* getting the file list

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 ...
Bonnie's user avatar
  • 161