hi,

please tell me the way to giving user name in java using ftp.i am giving the user name like below mentioned.if there is any mistake.guide me the correct way to give user name.



code:-
private static String FTP_HOST = "ftp.xxx.com";
private static String FTP_PORT = "21";
private static String FTP_USERNAME="ftp://smnk\ftpuser" ;//problem is here
private static String FTP_PASSWORD = "xxxxxx";