Added feature to work with local machine

Added feature to work with local or network machine. Not only ftp
server.