CybTekSol Posted March 24, 2009 Report Share Posted March 24, 2009 CybTekSol... you're begging to sound like a 'glass is FULL' kinda person. LOL... scared with some changes ? Smile ! =)Never scared of changes as long as they are improvements, but you must admit, Ketarin has come a LONG way! Sure, it can be better as almost everything can, although it will adequately get the job done for me now. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 24, 2009 Report Share Posted March 24, 2009 (edited) I DO admit and agree... but I would also like to race the NASCAR series. =) Edited March 24, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
FranciscoR Posted March 25, 2009 Report Share Posted March 25, 2009 Flo, Can I use the use the second variable URL as referer, e.g. {app1} ? This seems to work, but log is a bit ambiguous 25-03-2009 15:14:05: SAS: Using referer: {app1} Link to comment Share on other sites More sharing options...
floele Posted March 25, 2009 Author Report Share Posted March 25, 2009 How do you mean? I don't quite understand. Link to comment Share on other sites More sharing options...
CybTekSol Posted March 25, 2009 Report Share Posted March 25, 2009 Flo, Can I use the use the second variable URL as referer, e.g. {app1} ? This seems to work, but log is a bit ambiguous 25-03-2009 15:14:05: SAS: Using referer: {app1} If you mean HTTP referrer, yes it works FranciscoR, I have been doing it for quite some time now... see my CNET template for example. I have tested it with sites that have to have a referrer and it works... Link to comment Share on other sites More sharing options...
FranciscoR Posted March 25, 2009 Report Share Posted March 25, 2009 (edited) Example: I have 1 job with 3 variables. var1, URL= http://...A var2, URL= http://...B var3, URL= http://...C #1 If referer = 'empty' and if a HTTPreferer is needed, Ketarin will use var1 URL (default). My question is #2 If referer = '{var2}', will Ketarin use 'http://...B' ? I don't quite understand how referer handles 'variable replacements' - nothing is logged in referer line, Using referer: {app1}. Edit: @CybTekSol You're using *only* {redir}, if you use as HTTPreferer 'http://...{varX}', with varX=10, will this result in http://...10 or will Ketarin use the first variable URL ? Anyway I always have an error if I use 'http://...{varX}{varY}' Edited March 25, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted March 25, 2009 Author Report Share Posted March 25, 2009 You cannot use variables in referers so far. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 25, 2009 Report Share Posted March 25, 2009 Nice to know, thanks. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 (edited) Flo, yesterday I was looking at Ohloh and I haven't noticed that you had implemented *Reset cached content when changing the variable used as change indicator This cache reset with {version} as change indicator seems to be causing some problems, specifically downloading twice (twice exactly) the same app: 23-03-2009 16:02:57,69 WMP-FF_4/13/2007 23-03-2009 23:00:07,84 WMP-FF_4/13/2007 24-03-2009 12:31:29,10 PDF-XChange_2.0.0041.4 25-03-2009 13:28:49,93 PDF-XChange_2.0.0041.4 27-03-2009 13:51:26,25 MBAM_1.35 27-03-2009 20:35:29,29 MBAM_1.35 +Command line option "log" to save log file to specified location on exit Thanks ! Edited March 28, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 Link to comment Share on other sites More sharing options...
floele Posted March 28, 2009 Author Report Share Posted March 28, 2009 So far I cannot reproduce any CIV related problems. If you can, let me know. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 (edited) CIV=change indicator value ? The unhandled exception I can reproduce, the change indicator issue I reported too (I'll provide XML and log when I do). Edited March 28, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 (edited) Couldn't we use variables/environment variables with log name ? This way we could have log_{MMM}-{dd}_{HH}-{mm}.txt Do know I can do this with a batch file... --------------------------------------------------- Edit: I don't need it anymore (created a tc template w/ writedate/time). Edited March 28, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted March 28, 2009 Author Report Share Posted March 28, 2009 The unhandled exception is not so much of a problem I'd say. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 Hum ? =) For me it isn't, right now I'm starting Ketarin with a log argument. Link to comment Share on other sites More sharing options...
floele Posted March 28, 2009 Author Report Share Posted March 28, 2009 Well, if that exception occurs, you are doing something wrong (saving log to a path you can't save to). Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 (edited) Probably. When I started playing with /log I didn't knew if I had to provide name&format (my mistake =)) , and I started experiencing with /log=d:\ Edited March 28, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
Stalker Posted March 28, 2009 Report Share Posted March 28, 2009 I don't need it anymore (created a tc template w/ writedate/time). More info please ? I want to do the same thing as you did. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 Nothing special really, but this is a TotalCommander template. http://i42.tinypic.com/2199oi9.png Link to comment Share on other sites More sharing options...
Stalker Posted March 28, 2009 Report Share Posted March 28, 2009 Not automated then ? Too bad. I wanted to have a scheduled job run and save the timestamped log to a specified folder. Link to comment Share on other sites More sharing options...
floele Posted March 28, 2009 Author Report Share Posted March 28, 2009 I guess that I'll just allow variables (global ones, includes date/time) for the log path. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 28, 2009 Report Share Posted March 28, 2009 Not automated then ? Well sort of, for me it's Ctrl+M + Start. I don't intend to keep every log. I guess that I'll just allow variables (global ones, includes date/time) for the log path. That would be ideal. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 30, 2009 Report Share Posted March 30, 2009 Flo, I do need to use variables in httpreferer, I'm getting more and more errors on Sourceforge downloads, and all the problems are gone if I use a referer like http://sourceforge.net/project/downloading.php?groupname=portableapps&filename=7-Zip_Portable_4.65.paf.exe&use_mirror=fastbull Is this possible ? Link to comment Share on other sites More sharing options...
floele Posted March 30, 2009 Author Report Share Posted March 30, 2009 Does it actually matter if the filename parameter is correct? Link to comment Share on other sites More sharing options...
FranciscoR Posted March 30, 2009 Report Share Posted March 30, 2009 (edited) What parameter ? I'll provide XML so you can test yourself: <?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="69291a39-542c-45ab-aeeb-b6a4a2a7cab4"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer>http://sourceforge.net/project/downloading.php</HttpReferer> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/.*?_(\d\..+?|\d\w.+?)(?:_en-us){0,1}(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/utilities/7-zip_portable</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>app</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/(.+?)(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/utilities/7-zip_portable</Url> <Name>app</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Unpack</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programas\Unpack\7-Zip_Portable_4.65.paf.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-03-08T15:38:28.4826854</LastUpdated> <TargetPath>{target}\{category}\</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download</FixedDownloadUrl> <Name>7-zip Portable</Name> </ApplicationJob> </Jobs> As you can see, right now I'm using a generic mirror referer (using no referer doesn't help either). This produces ocasional errors, you will see them if you try to update this app during a few days. When a error is produced, use the static referer of my previous post (if fastbull is unavailable replace mirror='fastbull' with heatnet/dfn/garr... ) and you will see the difference. No errors/timeouts. Edited March 30, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now