Click here to Skip to main content
13,258,269 members (38,692 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 13-Mar-12 20:53pm
Updated 13-Mar-12 21:01pm
SAKryukov 14-Mar-12 2:12am
How could it be?!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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"?).

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.
SAKryukov 14-Mar-12 3:36am
Oh, great, thank you for reporting it back so soon.
You are welcome, of course.
Good luck, call again.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 14 Mar 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100