static async Task <byte[]> FTPCall(SensusRequest sr) { //return Encoding.ASCII.GetBytes("test"); byte[] ftpRes = RbFTPRepository.ProcessRoboBrailleFTP(sr); File.WriteAllBytes(resultPath + @"\ftp.txt", ftpRes); return(ftpRes); }
public async Task <byte[]> FTPCall(SensusRequest sr) { //return Encoding.ASCII.GetBytes("test"); return(RbFTPRepository.ProcessRoboBrailleFTP(sr)); }