Jump to content
Ketarin forum

Another SF.NET victim...


FranciscoR
 Share

Recommended Posts

<?xml version="1.0" encoding="utf-16"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="571a8f44-6667-4150-b18d-17725f917379">
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <HttpReferer />
   <Variables>
     <item>
       <key>
         <string>path</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>true</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/projects/freemind/files/freemind/([^"]+max\.exe/download)"</Regex>
           <Url>http://sourceforge.net/projects/freemind/files/freemind/</Url>
           <Name>path</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>true</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>FreeMind-Windows-Installer-([\d\.]+)-max\.exe</Regex>
           <Url>http://sourceforge.net/projects/freemind/files/freemind/</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommand>{rem} copy /y "{file}" {shared}</ExecuteCommand>
   <ExecutePreCommand>{rem} del /q {shared}\{appname}*.*</ExecutePreCommand>
   <Category>Office\Diagramming</Category>
   <SourceType>FixedUrl</SourceType>
   <PreviousLocation>D:\Programas\Office\Diagramming\FreeMind_0.8.1.exe</PreviousLocation>
   <DeletePreviousFile>false</DeletePreviousFile>
   <Enabled>true</Enabled>
   <FileHippoId />
   <LastUpdated xsi:nil="true" />
   <TargetPath>{target}\{category}\{appname}_{version}.{url:ext}</TargetPath>
   <FixedDownloadUrl>http://sourceforge.net/projects/freemind/files/freemind/{path}</FixedDownloadUrl>
   <Name>FreeMind</Name>
 </ApplicationJob>
</Jobs>

28-08-2009 00:32:39: Update started with 1 application(s)
28-08-2009 00:32:41: FreeMind: Replacing {path} in 'http://sourceforge.net/projects/freemind/files/freemind/{path}' with '0.8.1/FreeMind-Windows-Installer-0.8.1-max.exe/download'
28-08-2009 00:32:41: FreeMind: Using referer: (none)
28-08-2009 00:32:42: FreeMind: Server source file: /projects/freemind/files/freemind/0.8.1/FreeMind-Windows-Installer-0.8.1-max.exe/download
28-08-2009 00:32:43: FreeMind: Failed, The downloaded file is not a binary file type (text/html; charset=utf-8). Possibly there is an error page. Status code: 200 (OK)
28-08-2009 00:32:44: FreeMind: Replacing {path} in 'http://sourceforge.net/projects/freemind/files/freemind/{path}' with '0.8.1/FreeMind-Windows-Installer-0.8.1-max.exe/download'
28-08-2009 00:32:44: FreeMind: Using referer: (none)
28-08-2009 00:32:47: FreeMind: Server source file: /projects/freemind/files/freemind/0.8.1/FreeMind-Windows-Installer-0.8.1-max.exe/download
28-08-2009 00:32:47: FreeMind: Failed, The downloaded file is not a binary file type (text/html; charset=utf-8). Possibly there is an error page. Status code: 200 (OK)
28-08-2009 00:32:47: Update finished

Edited by FranciscoR
Link to comment
Share on other sites

Guess what, my older template works again =) (thanks to 'basic' cookie support?)

<?xml version="1.0" encoding="utf-16"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="571a8f44-6667-4150-b18d-17725f917379">
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <HttpReferer />
   <Variables>
     <item>
       <key>
         <string>path</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>true</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/projects/freemind/files/freemind/([^"]+max\.exe/download)"</Regex>
           <Url>http://sourceforge.net/projects/freemind/files/freemind/</Url>
           <Name>path</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>true</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>FreeMind-Windows-Installer-([\d\.]+)-max\.exe</Regex>
           <Url>http://sourceforge.net/projects/freemind/files/freemind/</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>durl</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(http://[^"]+use_mirror=.+?)"</Regex>
           <Url>http://sourceforge.net/projects/freemind/files/freemind/{path}</Url>
           <Name>durl</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommand>{rem} copy /y "{file}" {shared}</ExecuteCommand>
   <ExecutePreCommand>{rem} del /q {shared}\{appname}*.*</ExecutePreCommand>
   <Category>Office\Diagramming</Category>
   <SourceType>FixedUrl</SourceType>
   <PreviousLocation>D:\Programas\Office\Diagramming\FreeMind_0.8.1.exe</PreviousLocation>
   <DeletePreviousFile>false</DeletePreviousFile>
   <Enabled>true</Enabled>
   <FileHippoId />
   <LastUpdated xsi:nil="true" />
   <TargetPath>{target}\{category}\{appname}_{version}.{url:ext}</TargetPath>
   <FixedDownloadUrl>{durl}</FixedDownloadUrl>
   <Name>FreeMind</Name>
 </ApplicationJob>
</Jobs>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.