FTP change directory

Root is not enable for FTP, see Root accass not work - #2 by fzinken

But I definitely recommend to use either SCP (with root) to put the file in the /lib/ or you could easier just login with SSH and copy the file with sudo cp