I am transferring tar file using cookbook.i have no username and password for my ftp server so how to login and transfer using cookbook :
my code is here:
Login to the FTP server
ftp = Net::FTP.new(node[‘ip_address’])
I ve also tried by passing credentials as nil to user and pwd but it too doesnot works.
172.16.1.121 530 Login incorrect.