Made improvements on ftp create folder function