$sftp->ls($RemoteBaseDirectory . $RemoteOutgoingDirectory, sub { $RemoteFileList[$Count++] = $_[0]->{filename} } )