Jump to content
Ketarin forum

shawn

Moderators
  • Posts

    1,186
  • Joined

  • Last visited

Everything posted by shawn

  1. 403 is "forbidden". Typically this means that your user-agent isn't allowed on their site. Trying with the following forged IE header works fine (for me): Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727) It's also possible that your IP has been banned due to abuse or exceeding a certain number of hits over a period (common rules for stuff like APF/BFD).
  2. Hi, Flo! I don't want to be a pain, but would you mind posting a new build that addresses the category bug above? This bug is making it a huge PITA to fix or update different profiles between sessions.
  3. Use this instead: <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="8d1a7661-5a50-4607-9650-304eac53356c"> <WebsiteUrl>http://www.apple.com/quicktime/</WebsiteUrl> <UserAgent>User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)</UserAgent> <UserNotes /> <LastFileSize>38147376</LastFileSize> <LastFileDate>2010-12-09T13:30:24.3230083</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer>http://www.apple.com/quicktime/download</HttpReferer> <SetupInstructions /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>>QuickTime ([\d\.]+) for Windows</Regex> <Url>https://swdlp.apple.com/cgi-bin/WebObjects/SoftwareDownloadApp.woa/wa/getProductData?localang=en_us&grp_code=quicktime&returnURL=http://www.apple.com/quicktime/download</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>value="(http://appldnld.apple.com/QuickTime/[^"']+.exe)" name="downloadURL</Regex> <Url>https://swdlp.apple.com/cgi-bin/WebObjects/SoftwareDownloadApp.woa/wa/getProductData?localang=en_us&grp_code=quicktime&returnURL=http://www.apple.com/quicktime/download</Url> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://support.apple.com/downloads/#QuickTime</TextualContent> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.apple.com/quicktime/</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Plugins</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>QuickTime</Name> </ApplicationJob> </Jobs>
  4. 1.6b5 bug: Pasting a variable reference to the current variable into the "use regular expression" box will crash Ketarin. Recreate: Create a variable named "test". Switch it to "content from URL regex" type. In the URL box enter "http//example.com/" (or any other URL). Paste this into the "use regex" box: "{test}". Watch as Ketarin crashes.
  5. 1.6b5 bug: Opening any existing app profile fails to correctly populate the Category, instead defaulting to the first within the dropdown list.
  6. You're right, I can't get that one to work, either. There's other ways to make it happen, though (and a couple other errors in that profile). For this one, instead of grabbing the entire URL, just get the part after the %3A: (?<=targetPage=.+?tp%3A).+?(?>\.exe) Then assemble the URL afterwards. This enables you to switch it to HTTP, too: http:{url:multireplace:|:%2F|%2E:/|.}
  7. This is possible now, through a proxy. Check out my Codeplex template for an example of how to do it: http://ketarin.canneverbe.com/forum/viewtopic.php?id=627
  8. Personally, I would have agreed, but I was asked to treat new members with a gentle hand unless it's obvious they're spamming. This thread appears legit, so I allowed and commented.
  9. Not as a "global" variable, but you can use it within another variable to rely on the first. Just create a new variable (+), name it (like "newversion"), click "textual content" and then enter your parsing rules, such as: {version:regexreplace:[/.]+:} This works perfectly, as long as the variable "version" has been defined. It will automatically be parsed first so the new variable ("newversion") can be correctly assigned.
  10. No. In situations like this, the easiest thing to do is export the entire thing to XML (File, Export All), then open it up in a text editor (I prefer Notepad++) and do a find+replace to edit the specific fields. If you already have one that is "updated" and one that isn't, just find those within the source and find/replace should be pretty easy. When you're done, import the file again (File, Import) and it will overwrite the settings of all of the existing apps with those from the XML, effectively acting as a bulk update.
  11. Filehippo chokes with more than 2 simultaneous connections. It might work for you temporarily, but inevitably, reducing the number of connections to 2 or selecting the option to "not download simultaneously with other updates" is the best way to keep using FileHippo.
  12. There's more than one way to skin a cat. The following uses a google search to read the cached version number directly. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="244a59ec-76a2-40b3-909b-cd8776201976"> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.intel.com/support/go/ssdtoolbox/index.htm</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>v([\d\.]+)\.<[^>]+>msi</Regex> <PostData /> <Url>http://www.google.com/search?q=http%3A%2F%2Fdownloadcenter.intel.com%2FDetail_Desc.aspx%3Fagr%3DY%26DwnldID%3D18455+file+name+intel+ssd+toolbox+msi</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Tools</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <LastUpdated xsi:nil="true" /> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>http://downloadmirror.intel.com/18455/eng/Intel%20SSD%20Toolbox%20-%20v{version}.msi</FixedDownloadUrl> <Name>Intel SSD Toolbox</Name> </ApplicationJob> </Jobs>
  13. Here's an example export for WinSCP: REGEDIT /E .\settings\winscp-%COMPUTERNAME%.reg "HKEY_CURRENT_USER\Software\Martin Prikryl"
  14. Yes, but...you'd have to know each registry hive where the application settings are stored. This can be different between versions, much less operating systems. I use a batch script to export reg settings for various apps (such as DreamWeaver, WinSCP and Notepad++). I also call it from 4 different computers, XP, Vista and Win7 between them. Here's a nifty snippet you might find useful to check the current OS (which is important for assembling certain paths): FOR /f "tokens=2 delims=.[" %%a IN ('ver') DO SET v=%%a REM Win Vista/7 IF "%v%"=="Version 6" nircmdc elevate cmd /c "W:\GetData.bat" REM Win NT, 2000, XP IF "%v%"=="Version 5" CALL "W:\GetData.bat"
  15. What version are you using? This works perfectly for me.
  16. That would be a cool feature, Omni. I can see templates that were imported (since they're already tracked) having an option within them where "share this application online with others" is listed that instead provides a "report this application profile as broken".
  17. No, but you could call a batch file or something. This is what I use: @ECHO OFF :variables REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FOR /F "tokens=2-4 delims=/ " %%a in ("%date%") DO SET MM=%%a&SET DD=%%b&SET YY=%%c FOR /F "tokens=1-4 delims=:. " %%a in ("%time%") DO SET HH=%%a&SET NN=%%b&SET SS=%%c&SET LL=%%d FOR /L %%a in (0,1,9) DO @IF "%HH%"=="%%a" SET HH=0%%a SET timestamp=%YY%%MM%%DD%T%HH%%NN%%SS% REM Export current settings ketarin /export=ketarin-%timestamp%.xml
  18. I have been using the QuickTime filehippo app successfully for quite a while. Are you still having problems with the FileHippo method?
  19. You could also use "nircmd killprocess [processnames]" http://nircmd.nirsoft.net/killprocess.html Or nircmd closeprocess: http://nircmd.nirsoft.net/closeprocess.html
  20. Instead of using {startuppath} you could just use a dot (current directory): .\{category}
  21. Use a slash before it as so: {url:multireplace:|:%3A|%2F|%2E:\:|/|.}
  22. Even agreement checks are easy to get past on some hosts (see my codeplex template for an example).
  23. As a webhost, I don't always ban people that abuse my bandwidth outright. But if I do see an ongoing pattern of repeated abuse from a single IP or netrange, I *do* block them. This is why I strongly recommend anyone using something like Ketarin be very responsible with the number of simultaneous connections they attempt to employ. It won't always be a problem, but opening up ten connections to different files actually wastes significantly more resources than would several iterative connections, and chances are you're NOT going to benefit much, if at all, by using more than 2 connections. If that's not enough, you might go as high as 4 - but above that you're just going to upset the provider if they ever review their logs or utilize an automated scanner like BFD to throttle connections.
  24. The reasoning is probably due to following the MS developer guidelines. Applications "should" store data which users are not intended to directly edit within AppData by default, but "may" provide alternative storage locations.
×
×
  • 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.