By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,241 Members | 775 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,241 IT Pros & Developers. It's quick & easy.

WebRequestMethods.Ftp.UploadFile

P: 1
Is there a way for me to send a raw ftp command to a ftp server?

Sample code:

Expand|Select|Wrap|Line Numbers
  1. FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://192.168.140.81/ftproot/proba.txt");
  2.             request.Method = WebRequestMethods.Ftp.UploadFile;


I need somenthing like this:
Expand|Select|Wrap|Line Numbers
  1. request.Method = "some ftp command";
but it does not work. Not supported. Any ideas?

Thank you!
May 10 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.