Fixed sftp metadata function
Merge pull request #55 from GrahamCampbell/meta-fixes

Fixed sftp metadata function