public void Save(EDITransmissionPackage ediTransmissionPackage) { var ediXmlInterchangeControl = ediTransmissionPackage.GetInterchangeControl(); var fname = GetFileName(ediTransmissionPackage); var workingName = _config.WorkingFolder() + fname; //string uploadName = ediTransmissionPackage.GetUploadFolder() + fname; var code = ediTransmissionPackage.GetBusinessPartner(); var pathToUse = TransmissionPath.Edict; if (code == BusinessPartner.Initech) { pathToUse = TransmissionPath.Initech; } var uploadName = _config.GetUploadFolderFor(pathToUse) + fname; _fileUtilities.SaveTextAndRename(ediXmlInterchangeControl.Value, workingName, uploadName); }