appyface Posted August 13, 2009 Report Share Posted August 13, 2009 Below is my XML to download Firefox Portable. This one still downloads, but stopped populating url:basefile and url:ext a short while ago. I have 'save to file' selected and my download filename is: D:\Stuff\filestore\usb_stick_portable_apps_etc\{url:basefile}_{vers}.{url:ext} Latest Firefox Portable is version 3.5.2, the output filename is now just: _3.5.2 because only my hard-coded underscore plus the version number is populated. The url for downloading 3.5.2 is: http://downloads.sourceforge.net/portableapps/FirefoxPortable_3.5.2_English.paf.exe So I had expected my output file to be named: FirefoxPortable_3.5.2_English.paf_3.5.2.exe As always, help is appreciated. Thanks! --appyface <?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="727374bd-ca54-4c28-a7e2-593f97808a10"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer>http://sourceforge.net/</HttpReferer> <Variables> <item> <key> <string>skimurl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=download-box.*?href=").*?(?=")</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>skimurl</Name> </UrlVariable> </value> </item> <item> <key> <string>vers</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=Portable Edition"><span><strong>Download ).*?(?=<)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>vers</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>000100</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Stuff\filestore\usb_stick_portable_apps_etc\_3.5.2.</PreviousLocation> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-08-13T03:49:56.88662</LastUpdated> <TargetPath>D:\Stuff\filestore\usb_stick_portable_apps_etc\{url:basefile}_{vers}.{url:ext}</TargetPath> <FixedDownloadUrl>{skimurl}</FixedDownloadUrl> <Name>Firefox Portable</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
andreone Posted August 13, 2009 Report Share Posted August 13, 2009 I confirm the bug with 1.0.8.285. I tried several tweaks but nothing works. I have jobs that use {url:basefile}_{version}.{url:ext} and that are working great, so the issue is somewhere else. Link to comment Share on other sites More sharing options...
floele Posted August 13, 2009 Report Share Posted August 13, 2009 Will fix that for the next version. Link to comment Share on other sites More sharing options...
appyface Posted August 15, 2009 Author Report Share Posted August 15, 2009 Confirmed fixed in newest version. Thanks, Flo :-) Link to comment Share on other sites More sharing options...
appyface Posted August 15, 2009 Author Report Share Posted August 15, 2009 Hmm don't know if this is related or completely different issue... The above XML does now come up with the disk filename I'm expecting to see. But the downloaded file is actually a 3mb webpage and not the 8.8mb exe I was expecting? If I copy/paste the URL Ketarin gets from {skimurl} into a browser (IE8) or Orbit Downloader (2.8.14), both download the 8.8mb exe. With Orbit it works with no referer, so I tried erasing Ketarin's referer but that didn't change it. What am I overlooking? TIA for ideas, --appyface Link to comment Share on other sites More sharing options...
FranciscoR Posted August 15, 2009 Report Share Posted August 15, 2009 See this post/thread. Not aware of a fix for this, only a workaround. Link to comment Share on other sites More sharing options...
appyface Posted August 16, 2009 Author Report Share Posted August 16, 2009 Hi Flo, Do you have any thoughts on what is happening here? As mentioned I can very easily download with IE8 or Orbit Downloader, and I don't even need a referer. Thanks, --appyface Link to comment Share on other sites More sharing options...
floele Posted August 16, 2009 Report Share Posted August 16, 2009 I guess I'm currently to busy with CDBurnerXP to look into such strangenesses. But feel free to investigate a little yourself using some HTTP traffic monitor and then finding the differences. Link to comment Share on other sites More sharing options...
appyface Posted August 16, 2009 Author Report Share Posted August 16, 2009 Thanks Flo, I did do just that and the traffic to Ketarin is completely different from the traffic to Orbit or IE8. But I have no idea why that would happen... any clues? Link to comment Share on other sites More sharing options...
FranciscoR Posted August 16, 2009 Report Share Posted August 16, 2009 Something is wrong with the commas alright, this is the url FF and IE are using on request http://freefr.dl.sourceforge.net/project/portableapps/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%203.5.2/FirefoxPortable_3.5.2_English.paf.exe This is the one used by Ketarin. Notice the encoded commas are replaced by Ketarin and there's also a missing dot in the end o 'Ed'. Put this url in FF or IE and you will be redirected to portable apps homepage (while FF hangs and IE crashes). http://freefr.dl.sourceforge.net/project/portableapps/Mozilla%20Firefox,%20Portable%20Ed/Mozilla%20Firefox,%20Portable%20Edition%203.5.2/FirefoxPortable_3.5.2_English.paf.exe But the requests are very different indeed, unless we know what are we looking for it's hard to conclude anything else... Link to comment Share on other sites More sharing options...
CybTekSol Posted August 19, 2009 Report Share Posted August 19, 2009 I just noticed that my Firefox_Portable_v3.5.2_en-us.paf.exe has been truncated to Firefox_Portable_v3.5.2_en-us.paf and it has not occurred with previous Firefox Portable downloads... will have to investigate further for an educated comment. (Version 1.0.8) Link to comment Share on other sites More sharing options...
FranciscoR Posted August 19, 2009 Report Share Posted August 19, 2009 You probably want to test your thesis against Thunderbird and Sunbird as well, as they have the same problem. Sourceforge is a waste of time if you ask me. Link to comment Share on other sites More sharing options...
CybTekSol Posted August 30, 2009 Report Share Posted August 30, 2009 Sourceforge is a waste of time if you ask me. Agreed... it's a shame but they have 'fallen from grace' with me. 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