Author Topic: Feature request: Proxy support  (Read 8196 times)

bgtip

  • Newbie
  • *
  • Posts: 2
    • View Profile
Feature request: Proxy support
« on: March 31, 2009, 06:47:24 AM »
Feature request: Proxy support
Rightload is fantastic, but I need to connect through a proxy. My office PC uses isaserver, so this feature should accept text as "isaserver:8080", not only IP address as "100.100.100.70:8080".
Thank you.

RNiK

  • Newbie
  • *
  • Posts: 6
  • Firefoxin...
    • View Profile
    • Italian site about M$ Windows tweaking
Re: Feature request: Proxy support
« Reply #1 on: April 21, 2009, 02:21:07 PM »
+1

I'm behind a corporate proxy that requires HTTP authentication. Please support this feature.

Thanks! ;)

RNiK

  • Newbie
  • *
  • Posts: 6
  • Firefoxin...
    • View Profile
    • Italian site about M$ Windows tweaking
Re: Feature request: Proxy support
« Reply #2 on: August 16, 2009, 09:57:05 PM »
Any news about proxy support in RightLoad? :-\

Is there any way I can help? I'm not a developer but I can be a beta tester.

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Feature request: Proxy support
« Reply #3 on: August 18, 2009, 03:09:15 PM »
For FTP servers, this option already exists in a way, but I have never tested it. Since it is not included in the option screen, you have to edit the XML configuration manually, which may break your installation. But if you still want to give it a shot, here is a short manual. :)

- Close Rightload
- Open your config.xml file in an editor (if you did not change the config directory manually, you can type notepad %appdata%\rightload\config.xml)
- Look for a line beginning with <Server Protocol="0" Description="NAME" towards the end of the file. NAME should be the name of the server you want to have proxy support for
- Look for the text ProxyType="0" in that line. Change the 0 to:
1 if it is a UserSite proxy
2 if it is a Site proxy
3 if it is a Open proxy
4 if it is a UserPass proxy
5 if it is a Transparent proxy
- Add the following text at the end of the line, right before the closing > or />:
ProxyHost="" ProxyPort="" ProxyUsername="" ProxyPassword=""
- Write the settings necessary for you proxy server between the corresponding quotation marks
- Start Rightload and try to upload to the server
- Let me know how it goes :)

If we can figure this out, I can add a more convenient option for this in the next version.

RNiK

  • Newbie
  • *
  • Posts: 6
  • Firefoxin...
    • View Profile
    • Italian site about M$ Windows tweaking
Re: Feature request: Proxy support
« Reply #4 on: September 28, 2009, 10:04:04 AM »
There's no Server Protocol section at all in my config.xml. ???

Code: [Select]
<Rightload Version="1.8.0">
  <Settings>
    <SimpleMenu>False</SimpleMenu>
    <Language></Language>
    <DefaultTag>0</DefaultTag>
    <AutoUpdate>False</AutoUpdate>
    <History>True</History>
    <Overwrite>0</Overwrite>
    <DirectoryCreation>0</DirectoryCreation>
    <TransferType>0</TransferType>
    <TransferTypeAsciiExtensions>.cgi,.pl,.sh</TransferTypeAsciiExtensions>
    <ThumbName>$file_thumb$ext</ThumbName>
    <ThumbQuality>90</ThumbQuality>
    <ThumbDefaultAction>0</ThumbDefaultAction>
    <ThumbWidth>300</ThumbWidth>
    <ThumbHeight>200</ThumbHeight>
    <ThumbInfo>True</ThumbInfo>
    <ThumbFrame>True</ThumbFrame>
    <ResizeEnable>False</ResizeEnable>
    <ResizeQuality>90</ResizeQuality>
    <ResizeMaxWidth>800</ResizeMaxWidth>
    <ResizeMaxHeight>600</ResizeMaxHeight>
    <Log>True</Log>
    <Minimize>False</Minimize>
    <AutoURLPreview>False</AutoURLPreview>
    <AutoClose>False</AutoClose>
    <AutoCopy>False</AutoCopy>
    <KeepOpen>False</KeepOpen>
    <RememberWindowPositions>True</RememberWindowPositions>
    <PassHash></PassHash>
  </Settings>
  <Plugins>
    <Facebook Enabled="1"/>
    <Imageshack Enabled="1" IsDefault="1"/>
  </Plugins>
  <Servers/>
</Rightload>

What I'm missing?

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Feature request: Proxy support
« Reply #5 on: September 30, 2009, 07:18:58 PM »
You need to define the server as a normal FTP server first. Sorry for not making that more clear!

RNiK

  • Newbie
  • *
  • Posts: 6
  • Firefoxin...
    • View Profile
    • Italian site about M$ Windows tweaking
Re: Feature request: Proxy support
« Reply #6 on: January 11, 2010, 01:08:39 PM »
I'm behind an HTTP corporate proxy that requires authentication. My config.xml is something like this:
Code: [Select]
<Rightload Version="1.9.0">
  <Settings>
    <SimpleMenu>False</SimpleMenu>
    <Language></Language>
    <DefaultTag>0</DefaultTag>
    <AutoUpdate>False</AutoUpdate>
    <History>True</History>
    <Overwrite>0</Overwrite>
    <DirectoryCreation>0</DirectoryCreation>
    <TransferType>0</TransferType>
    <TransferTypeAsciiExtensions>.cgi,.pl,.sh</TransferTypeAsciiExtensions>
    <ThumbName>$file_thumb$ext</ThumbName>
    <ThumbQuality>90</ThumbQuality>
    <ThumbDefaultAction>0</ThumbDefaultAction>
    <ThumbWidth>300</ThumbWidth>
    <ThumbHeight>200</ThumbHeight>
    <ThumbInfo>True</ThumbInfo>
    <ThumbFrame>True</ThumbFrame>
    <ResizeEnable>False</ResizeEnable>
    <ResizeQuality>90</ResizeQuality>
    <ResizeMaxWidth>800</ResizeMaxWidth>
    <ResizeMaxHeight>600</ResizeMaxHeight>
    <ResizeShow>False</ResizeShow>
    <Log>True</Log>
    <Minimize>False</Minimize>
    <AutoURLPreview>False</AutoURLPreview>
    <AutoClose>False</AutoClose>
    <AutoCopy>False</AutoCopy>
    <KeepOpen>False</KeepOpen>
    <RememberWindowPositions>True</RememberWindowPositions>
    <PassHash></PassHash>
  </Settings>
  <Plugins>
    <Facebook Enabled="1"/>
    <Imageshack Enabled="1" IsDefault="1"/>
  </Plugins>
  <Server Protocol="0" Description="MyProxy" ProxyType="4" ProxyHost="proxy.intranet.MyDomain.it" ProxyPort="3128" ProxyUsername="MyUsername" ProxyPassword="MyPassword" />
  <Servers/>
</Rightload>

Trying to upload an image to my ImageShack account i get a time-out error and RighLoad log show this:
Code: [Select]
# Rightload
# Language: it_IT
# DevIL: True
# Version: 1.9.0 Build: 1298
# Finished loading CFG.
# Command: "C:\Program Files\Rightload\Rightload.exe"
# Extracted 4 icons.
# ------------------------------
File added: animated_firefox_hh_snow_globe_by_kensaunders_200x250.png [L=0]
Queue has pictures.
11/01/2010 12.41.51 Connecting to "Plugin: Imageshack"...
11/01/2010 12.41.51 Connected.
11/01/2010 12.41.51 Uploading 1 files...
11/01/2010 12.41.51 Next file is "animated_firefox_hh_snow_globe_by_kensaunders_200x250.png" (47974 Bytes)
11/01/2010 12.46.51 !! Exception Exception in ProcessQueueAction: Upload failed - connect() timed out!
Showing message: "An error occured while uploading file animated_firefox_hh_snow_globe_by_kensaunders_200x250.png:

Upload failed - connect() timed out!"
11/01/2010 12.47.37 Queue action ended
11/01/2010 12.47.37 Queue done.
11/01/2010 12.47.39 [TUpload.Destroy]

# EOF

 ???

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Feature request: Proxy support
« Reply #7 on: March 13, 2010, 12:09:06 PM »
I'm sorry for the misunderstanding, but right now Rightload only supports proxies for FTP and HTTP servers, not plugins. I will see if I can find a good way to do this for the next version though.