Add directory functions for ftp