Hello,
I am using the following in my code:
com.enterprisedt.net.ftp.FTPClient ftpClient = new FTPClient();
ftpClient.chdir(remoteDir);
where remoteDir=/Program Files/ABC/XYZ.
I get an error "ERROR Error while Getting the file from remote server
com.enterprisedt.net.ftp.FTPException: /Program*/ABC/XYZ: The filename, directory name, or volume label syntax is incorrect." This happens due to the space beween 'Program' and 'Files' in the folder name.
I need help in knowing how to use folder name with a space in 'remoteDir', with the chdir command?