FtpPickUp() public method

public FtpPickUp ( string destinationFilePath, string>.Dictionary config, string fileName ) : void
destinationFilePath string
config string>.Dictionary
fileName string
return void
Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public litleResponse receiveFromLitle(string batchFileName)
        {
            litleFile.createDirectory(responseDirectory);

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

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

            return(litleResponse);
        }