Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.2k views
in .NET FTP by (160 points)
Is it possible to use the FTPConnection in a console application?

Once I load the toolbox the FTPConnection control is grey'd out and not available :( .

If there is a way, a brief example of how would be greatly appreciated.

JCS

3 Answers

0 votes
by (51.6k points)
Yes you can certainly use FTPConnection in a console application. I'm not really sure what you mean when you say it was greyed out. What were you trying to design? Normally you'd drop an FTPConnection from the toolbox onto a form. What were you trying to drop it onto in this case?

In any case, you can definitely just use the FTPConnection like you would use any other utility class.

- Hans (EDT)
0 votes
by (160 points)
All the examples I've found assume I'm just going to drop the object on a form, but since it's a console application I don't have any form to drop it onto. I tried to figure out what imports and declarations I needed to just use the object, but it's not clear to me. Once I get it declared I'll be fine with the documentation that I have, but if you could supply VB example code of the needed declarations I would be greatly appreciative.

Thanks

Jim
0 votes
by (162k points)
Take a look in the examples directory of the distro.

Categories

...