Hi All
we need download files from FTP location , so we are using script component as source and when we are using the fallowing code
// read a file and write out as columns in rows WebClient myWebClient = new WebClient(); myWebClient.Credentials = new NetworkCredential(Variables.ftpLogin, Variables.ftpPassword); // Concatenate the domain with the Web resource filename. string myStringWebResource = Variables.fileURL + Variables.fileName; string s = myWebClient.DownloadString(myStringWebResource); StringReader reader = new StringReader(s);
we are getting the fallowing error The server returned an error: (404) Not Found. are we missing anything in the code.