Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

How can i Include Utilities.FTP in project.


Imports utilities.FTP gives me a warning below.

Namespace or type specified in the Imports 'Utilities.FTP' doesn't contain any public member or cannot be found.
Make sure the namespace or the type is defined and contains at least one public member.
Make sure the imported element name doesn't use any aliases.

Utilities.FTP is a Class.

Got the codes from here by Mr.Howard Richards
Posted
Updated 13-Mar-12 20:01pm
v2
Comments
Sergey Alexandrovich Kryukov 14-Mar-12 2:12am    
How could it be?!
--SA

1 solution

If Utilities.FTP was a full name of the class, you would need to use its full name as is, and "import Utilities.FTP" would be wrong, as you would need to write "Import Utilities". However, I suspect "Utilitied.FTP" is not a class but a namespace, as I can see from Google search. In this case, you would really could use "import Utilities.FTP" and some type(s) in this namespace. So, what could be wrong? Check up if you have referenced the assembly itself ("FTPClient.DLL"?).

—SA
 
Share this answer
 
Comments
Alan Tuscano 14-Mar-12 3:02am    
Hi SA,
Thank You, got it running. Its a namespace, I add the FTPClient to the reference.

Thank you.
Sergey Alexandrovich Kryukov 14-Mar-12 3:36am    
Oh, great, thank you for reporting it back so soon.
You are welcome, of course.
Good luck, call again.
--SA
Alan Tuscano 14-Mar-12 4:04am    
Yes, I will!
Thanks again SA. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900