public MoveFileIfDoesntExist(string sourceVirtualPath, string targetVirtualPath) { FileInfo source = new FileInfo(HostingEnvironment.MapPath(sourceVirtualPath)), target = new FileInfo(HostingEnvironment.MapPath(targetVirtualPath)); _command = new Ucommerce.Installer.FileMover(source, target); }
public MoveFile(string sourceVirtualPath, string targetVirtualPath, bool backupTarget) { _backupTarget = backupTarget; FileInfo source = new FileInfo(HostingEnvironment.MapPath(sourceVirtualPath)), target = new FileInfo(HostingEnvironment.MapPath(targetVirtualPath)); _command = new Ucommerce.Installer.FileMover(source, target); }