- Joined
- Feb 11, 2008
- Messages
- 607 (0.10/day)
- Location
- Omaha, Nebraska, USA
System Name | Built By Me |
---|---|
Processor | Intel Core i9 9900K @ 5.1 GHz |
Motherboard | Gigabyte Z390 Aorus Ultra |
Cooling | Custom Water Cooling - CPU Only |
Memory | 32GB (2 x 16) GSkill Ripjaws V DDR4 |
Video Card(s) | RTX 4080 - ASUS ROG Strix 16GB OC - P Mode |
Storage | 1TB Samsung 970 Evo NVMe |
Display(s) | Alienware AW2723DF @ 280 Hz @ 1440P |
Case | Fractal Design Define S2 |
Audio Device(s) | Corsair Virtuoso Pro |
Power Supply | 850W Seasonic Platinum |
Mouse | Razer Viper V2 Pro @ 2k Hz |
Keyboard | Asus ROG Strix Scope II 96 Wireless - ROG NX Snow Switches |
Software | Windows 11 Pro |
I have a program that I want to make that utilizes ftp to download and upload a file to a ftp server that I made using serversfree.com.
Here is the information that I have for the test account:
Here is my C# code. It is not completed yet, but there is no point in completing it yet if the first part does not work:
I get this error message when running my C# program:
However, using FileZilla, I can access the ftp server just fine. According to FileZilla, that text.txt file I am trying to download has that URL. I have even set permissions to include everybody. What am I doing wrong?
Here is the information that I have for the test account:
FTP IP: 185.28.21.34
FTP Hostname: joshuaserverconnect.com
FTP Username: u669041582
FTP Password: ••••••••••
FTP Port: 21
Folder to Upload Files: public_html
Here is my C# code. It is not completed yet, but there is no point in completing it yet if the first part does not work:
PHP:
WebClient request = new WebClient();
request.Credentials = new NetworkCredential("u669041582", "*********");
byte[] fileData = request.DownloadData("ftp://u669041582@185.28.21.34/public_html/Test.txt");
I get this error message when running my C# program:
The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
However, using FileZilla, I can access the ftp server just fine. According to FileZilla, that text.txt file I am trying to download has that URL. I have even set permissions to include everybody. What am I doing wrong?
Last edited: