c#

No overload for method 'Create' takes 2 arguments  #angularjs #reactjs

  • Create(“ftp://192.168.0.29”, test); , (FtpWebRequest)WebRequest.
  • I want to be able to specify a string instead of a static filename but not sure how πŸ™
  • Stack Overflow works best with JavaScript enabled
  • The Create method of the WebRequest class accepts only one parameter, either a string or an Uri.
  • sign up log in tour help

Part of my code sends a file from the disk to a server using ftp. I want to be able to specify a string instead of a static filename but not sure how πŸ™

@ng_real_ninja: No overload for method ‘Create’ takes 2 arguments #angularjs #reactjs

Part of my code sends a file from the disk to a server using ftp. I want to be able to specify a string instead of a static filename but not sure how πŸ™

class accepts only one parameter, either a string or an Uri. But you are passing two here, I think it should be something like this:

When you create FtpWebRequest, you first specify the URL, then when you get the object, you send the file. See the following.

is “I’ll” correct as a short answer?

c#

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.