Answer the question
In order to leave comments, you need to log in
C#. invalid uri, expected port due to colon, what to do?
I am uploading a file to an FTP server using WebClient. I initialize the Uri according to the scheme " ftp://Login:[email protected] " . But for some reason he thinks that after (":") it is necessary to enter the port. How to be in such a situation? Is there a better way to upload a file to ftp?
Answer the question
In order to leave comments, you need to log in
Yes everything, thank you. It needed " ftp://Login:[email protected]:PORT ". But I did through Uri Bilder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question