No idea, especially since the line-numbering in the code you provided doesn't correspond to the line-number in the error messages. Perhaps replacing the '.' with another '::' would work?
_FtpWebRequest->Method = System::Net::WebRequestMethods::Ftp::UploadFile;