in reply to lcd in Net::FTP module

Net::FTP to process ftp and explain more details about the requirement of change local directly to get exact answer. opendir cammand to read all the files from your local directory.