From ee0a5cf2c02c7a9d2926d92f28c2a949cf090ef0 Mon Sep 17 00:00:00 2001 From: Ravi Patel Date: Sat, 25 May 2019 11:33:48 +0530 Subject: [PATCH] Added documentation for downloading via FTP. This resolves #218 and resolves #124. --- AutoUpdater.NET/Properties/AssemblyInfo.cs | 4 ++-- AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec | 4 ++-- README.md | 10 ++++++++++ appveyor.yml | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/AutoUpdater.NET/Properties/AssemblyInfo.cs b/AutoUpdater.NET/Properties/AssemblyInfo.cs index 53d482fa..d25334af 100644 --- a/AutoUpdater.NET/Properties/AssemblyInfo.cs +++ b/AutoUpdater.NET/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.5.1.0")] -[assembly: AssemblyFileVersion("1.5.1.0")] +[assembly: AssemblyVersion("1.5.2.0")] +[assembly: AssemblyFileVersion("1.5.2.0")] [assembly: NeutralResourcesLanguageAttribute("en")] diff --git a/AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec b/AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec index dddf3156..05a9010e 100644 --- a/AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec +++ b/AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec @@ -2,11 +2,11 @@ Autoupdater.NET.Official - 1.5.1 + 1.5.2 AutoUpdater.NET RBSoft RBSoft - https://github.com/ravibpatel/AutoUpdater.NET/blob/master/LICENSE + MIT https://github.com/ravibpatel/AutoUpdater.NET false AutoUpdater.NET is a class library that allows .NET developers to easily add auto update functionality to their classic desktop application projects. diff --git a/README.md b/README.md index bb46d3f0..54c794af 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,16 @@ AutoUpdater.Start("http://rbsoft.org/updates/AutoUpdaterTest.xml", myAssembly); ## Configuration Options +### Download Update file and XML using FTP + +If you like to use ftp XML URL to check for updates or download the update file then you can provide you FTP credentials in alternative Start method as shown below. + +````csharp +AutoUpdater.Start("ftp://rbsoft.org/updates/AutoUpdaterTest.xml", new NetworkCredential("FtpUserName", "FtpPassword")); +```` + +If you are using FTP download URL in the XML file then credentials provided here will be used to authenticate the request. + ### Disable Skip Button If you don't want to show Skip button on Update form then just add following line with above code. diff --git a/appveyor.yml b/appveyor.yml index 6ad04760..9f135b9d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ -version: 1.5.1.{build} +version: 1.5.2.{build} environment: - my_version: 1.5.1 + my_version: 1.5.2 my_secret: secure: vbPRaZLQYpGPr4BrZZ4p6TofpSZMud+FKtlpqjgO8aA= skip_branch_with_pr: true