WebDevVote - Web 2.0 | Did you know.. How to download file from web service using J
1votes
voted
farooq.kaiser farooq.kaiser 6 months, 10 days ago
fairnet.com — Here is our Web service in C#. 1: [WebMethod] 2:publicvoid DownloadFile(string fileName) 3: { 4: HttpContext returnContext = HttpContext.Current; 5:string url = "http://localhost" + @"/" + fileName; 6: 7: FtpWebRequest ftpRequest = (FtpWebRequest)FtpWebRequest.Create(new Uri(url)); 8: ftpRequest.Credentials = new NetworkCredential(UserId, UserPassword); 9: ftpRequest.Method = WebRequestMethods.Ftp.DownloadFile; 10: 11:using (FtpWebResponse ftpResponse... original link
Web 2.0 | Did you know.. How to download file from web service using J
Tags: | add tag

new Add a live vote counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Vote it" text
  • "Vote it" Background
  • Vote count text
  • Vote count background
  • Border

Simply copy and paste this HTML into your blog post.

Users who voted this story

Comments

No comments so far!



information Thank you for your visit. Please create an account to share and vote!

Login or Sign up to add your comment.
  • Web Dev Vote's Facebook Profile
  • Follow us on Twitter
  • RSS



Technorati Profile