This project is read-only.

Check the server and username [RESOLVED]

Aug 8, 2007 at 9:52 AM
Hi Howard,

Just one more question.
Namely, if the server or username does not exist the demo app crashes (however it's caused by the library as there missing an if statement for this). So i was wondering how to check that and prevent the crashing and maybe throw an exception or something that there need to be entered correct server or username.

Thanks
Aug 23, 2007 at 7:51 AM
hi jugomkd and Howard sir,

I was also wondering if we can check for whether a successful connection is ESTABLISHED or not with the FTP server after specifying the login parameters via FTPclient constructor.

Coz I wish to display to the user a SUCCESSFUL CONNECTION ESTABLISHMENT acknowledgement MessageBox. Is there any appropriate method I can use or any flag I can implement in the library which need to be linked to some event fired on a LOGIN to FTP server....?

Please tell me what can I do...?
NITIN