Jump to content
Ketarin forum

Downloading from Sourceforge.net


Ash Bishop
 Share

Recommended Posts

Hi all.

 

I learned this great program yesterday, searched for it very long time and it has everything I need and even more. Big thanks to developers.

And first question: where is "donate" button? =)

 

Second question: I have already set up most programs from filehippo and google code but I have difficulties with downloading from Sourceforge.net. I couldn't find direct link for downloading program.

I read a few articles on the forum that describe usage regular expressions (if I understood correctly) but I have poor English skill and didn't understand well enough to make my own script.

 

"Direct links" on sourceforge have terrible form using redirects and mirrors so Ketarin can't use them:

https://downloads.sourceforge.net/project/flashfolder/FlashFolder/FlashFolder-beta-1.9.181/FlashFolder_beta_1_9_181.msi?r=&ts=1331938500&use_mirror=dfn

 

So after a lot of my failed attempts I found working solution. I just copied link where the file is downloading from and put in program.

For example:

http://netcologne.dl.sourceforge.net/project/classicshell/Version%203.4.1%20general%20release/ClassicShellSetup_3_4_1.exe
http://switch.dl.sourceforge.net/project/classicshell/Version%203.4.1%20general%20release/ClassicShellSetup_3_4_1.exe
http://dfn.dl.sourceforge.net/project/classicshell/Version%203.4.1%20general%20release/ClassicShellSetup_3_4_1.exe
http://citylan.dl.sourceforge.net/project/classicshell/Version%203.4.1%20general%20release/ClassicShellSetup_3_4_1.exe

Depending of the mirror I choose on site.

 

Is this bad solution? Will It work in future or there is more simply solution for this? I wold be grateful for any help with this question.

 

Thank you.

 

 

P.S. Is there any not very difficult documentation for regular extensions to use with Ketarin? =)

 

P.P.S. I there any way to download two files in one "Application"?

Link to comment
Share on other sites

And first question: where is "donate" button? =)

 

Thanks for the intent, but there is none. I'm just happy if you use it :)

 

Is this bad solution? Will It work in future or there is more simply solution for this?

 

It will only work as long as sf.net does not change. SF.net has always been a bit difficult.

 

P.P.S. I there any way to download two files in one "Application"?

 

Nope.

Link to comment
Share on other sites

Hi and welcome. Did you take a look at my SF guide?: https://ketarin.org/...orge-downloads/

 

You dont need to know or use regex for this either if you dont want to.

 

Thank you, great guide.

 

 

Thank you for answers and especially for the program. =)

 

Some offtopic questions if you don't mind.

 

1. I'm trying to insert a little batch script into commands tab.

 

tasklist | find "miranda32.exe"
if errorlevel 1 goto Done
"C:\programs\miranda\MimCmd.exe" quit
:Done

 

So script checks for a process in memory and if there is one it kills it. But when I'm trying to run the script it ignores "if - goto" commands and runs every line of it. Is there a solution so the script will execute this "if - goto" command?

 

2. When I'm creating {version} variable on site using "Content from URL (start/end)" by default it chooses first match of string in the site code. For example:

 

<td>CCEnhancer (English only)</td>
<td>3.1</td>
<td>
<a href="http://download.thewebatom.net/4f4e05f63dc3d/CCEnhancer-3.1.exe" target="_blank"><img src="http://content.thewebatom.net/images/download.png" border="0" alt="Download2" width="147" height="40" /></a>
</td>
</tr>
<tr>

<td>CCEnhancer (Multilingual)</td>
<td>3.1</td>
<td>
<a href="http://download.thewebatom.net/4f4e05af64e33/CCEnhancer-3.1-multilanguage.zip" target="_blank"><img src="http://content.thewebatom.net/images/download.png" border="0" alt="Download2" width="147" height="40" /></a>
</td>
</tr>

 

This two parts of code are very similar. I need "/4f4e05af64e33/" part in second URL to make variable. So I'm selecting this part of code:

 

<a href="http://download.thewebatom.net/4f4e05af64e33/CCEnhancer-

 

but as you see "<a href="http://download.thewebatom.net/ /CCEnhancer-" part also is in previous part of code so the program chooses the first one.

 

Is there any way to tell the program to use second (or any else) matching string in site code?

 

3. Is there any way to adjust an icons to applications in Ketarins list? Cause when file is missing or is in archive the icon is empty or there is archive icon.

 

 

 

Thank you.

Link to comment
Share on other sites

1. I'm trying to insert a little batch script into commands tab.

 

Use this instead:

tasklist | find "miranda32.exe" && if not errorlevel 1 "C:\programs\miranda\MimCmd.exe" quit

 

2. When I'm creating {version} variable on site using "Content from URL (start/end)" by default it chooses first match of string in the site code.

 

You can either use a more distinctive regex pattern, such as including "multilanguage" as part of the pattern, or use something like a greed indicator on one side or the other (.+ or .+*).

 

 

3. Is there any way to adjust an icons to applications in Ketarins list? Cause when file is missing or is in archive the icon is empty or there is archive icon.

 

Nope. It's pulled from the OS, so you're stuck with what you've got. You can alter the icon associations within the operating system itself, but that's only going to apply to the one install.

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.