+1 vote

"No such host is known" error occurred while connecting:

ftp.Connect("ftp://serverIp")

by (350 points)
edited by

1 Answer

0 votes

Don't specify the protocol. Use server name only:

ftp.Connect("192.168.0.1");
by (301k points)
Thanks for your reply..its working .. how to use anonymous login
Simply skip Login method at all or use LoginAnonymous method.
...