Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
help with downloading files
So I there wasnt a visual J# forum on this site, so I figured that C# was the closest to it, so I posted in here thinking that some1 might somewhat familiar with J#. I am trying to download a file off of an ftp server using WebClient.Here is my code....
WebClient request = new WebClient();
Uri newuri=new Uri("ftp://ftp.fedex[size=1][/size].com/pub/us/rates/downloads/documents2/Ground.txt
String pathname="C:\Documents and Settings\2346298\My
Documents\Visual Studio 2005\Projects\ShippCalculator\ShippCalculator\Ground.txt";
When I compile and run I get an exception saying...
"System.Net.WebException: The underlying connection was closed: An unexpcted error occured on a recieve."
I am not sure how to fix this... I hope someone can help me out here
0 · ·