FtpPickUp() public method

public FtpPickUp ( string destinationFilePath, string>.Dictionary config, string fileName ) : void
destinationFilePath string
config string>.Dictionary
fileName string
return void
Beispiel #1
0
        public litleResponse receiveFromLitle(string batchFileName)
        {
            communication.FtpPickUp(responseDirectory + batchFileName, config, batchFileName);

            var stringBuilder = _cache[responseDirectory + batchFileName];
            var litleResponse = litleXmlSerializer.DeserializeObjectFromString(stringBuilder.ToString());

            return(litleResponse);
        }
        public litleResponse receiveFromLitle(string batchFileName)
        {
            litleFile.createDirectory(responseDirectory);

            communication.FtpPickUp(responseDirectory + batchFileName, config, batchFileName);

            litleResponse litleResponse = (litleResponse)litleXmlSerializer.DeserializeObjectFromFile(responseDirectory + batchFileName);

            return(litleResponse);
        }