New FSPlugin : HTTP Browser

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

I don't understand: it works fine for me. You can copy each file or link to your harddrive.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

fabiochelly wrote:I'm gonna check how can I support proxies with password
That's actually quite simple: You will get an error 407 (proxy password required). Then you ask the user for username and password, and send them again in an additional header:

Code: Select all

'Proxy-Authorization: Basic ' + MimeEncode(fProxyUserName+':'+fProxyPassword)
where the function MimeEncode encodes username and password with base64.

Password-protected sites also don't work yet. Here you will get an error 401 back, and need to send the password also in a similar separate header:

Code: Select all

'Authorization: Basic '+MimeEncode(fUserName+':'+fPassword)
I can give you a username+password to test this on my site if you want, just contact me by e-mail.
Author of Total Commander
https://www.ghisler.com
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

For proxies, I can add the password in the ini file.
Nevertheless, for protected HTT¨P websites, isn't it easier to enter the address like this: http://login:pass@url ?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Tsunulukai
Junior Member
Junior Member
Posts: 66
Joined: 2003-02-07, 23:44 UTC

Post by *Tsunulukai »

That's the standart way... but I think it would nevertheless be great to get a box asking for username/passwd when getting a 401 error...
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

New version: 1.0 Beta 9

Supports HTTP authentification (login/password) and proxies login/password.

Download it here: http://totalcommander.free.fr/fabio/hbrowser.zip
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 28-02-2003 16:27:09 +0000 fabiochelly wrote:

FC> Supports HTTP authentification (login/password) and
FC> proxies login/password.


Fabio, thank you for the wonderful tool, it works well through Wingate now :).
Only one thing - I can't go back through the "directorys" by entering the panel "root" ([..]) or plugin "root" (/root//) and both back and forward with cm_GotoPrevious(Next)Dir, cm_DirectoryHistory. I got an empty panel and have to restart connection. May be this situation related with a problem I described here.
BTW, Christian, built-in FTP client gives me "connect Error5" all the time with the same proxy settings though I set it as HTTP Proxy with FTP support in passive mode for transfers.[/face]
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

I can't go back through the "directorys" by entering the panel "root" ([..])
The problem is that I can go from a page to another after an fsExecute event.
And a click on the parent link (..) cannot be detected in an fsExecute event (only in FindFirst).
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

New version: HTTP Browser 1.0 Release Candidate
  • History (to go back to previous pages)
  • Prefix for language files
  • Smaller (/2.5)
  • Faster
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

2fabiochelly

i can't get your plugin working. :(

first version i tried was 1.0 beta 9.
i tried different url's, but i got only a empty pane.
current version does'nt even enter in pane.
and now, when i quit tc, the following errormessage appears (did'nt happen with 1.0 beta 9):

Code: Select all

TOTALCMD caused an invalid page fault in
module <unknown> at 0000:0103538f.
Registers:
EAX=0076e28c CS=018f EIP=0103538f EFLGS=00010246
EBX=0076e28c SS=0197 ESP=007300fc EBP=0073011c
ECX=007301a0 DS=0197 ESI=8191bf7c FS=0d5f
EDX=bff76855 ES=0197 EDI=007301c8 GS=0000
Bytes at CS:EIP:

Stack dump:
bff76849 007301c8 0076e28c 007301e4 007301a0 007302d4 bff76855 0076e28c 007301b0 bff87fe9 007301c8 0076e28c 007301e4 007301a0 0103538f 0073038c 
some specs:
win98se (english version, german country settings)
256mb ram
tc 5.51

hope that helps, so you maybe can help me in return ? :roll:
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

I will try to find why you get this error. You're thr first to report this problem.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
tech
Junior Member
Junior Member
Posts: 5
Joined: 2003-02-25, 11:52 UTC

bugs HB or TC :x

Post by *tech »

At attempt of connection to a site through command line TC there is a mistake
"Access violation at address 01825845. Read of address 00000000. Please report this error to the Author."

TC 5.51
win2000 SP3(rus).
Ram 128Mb
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

For the moment, I didn't support command line (and I know how to do it).

2deus-ex: Can you download the debug version of the WFX of HTTP Browser here: http://totalcommander.free.fr/fabio/hbdebug.zip
It's the same version except that it will create a log file C:\chronoreport.txt
Can you do then the following tasks:
  • replace the WFX by the one include in this ZIP
  • try to connect to a site with it
  • send me the chronoreport file to fabio@chelly.net
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

2fabiochelly

thank you, fabio :)

done everything you asked for.
please check your mail.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]OK, now internal links work almost fine. But is it possible to process "Alt"+"<-/->" inside plugin (as equivalent to "arrow" icon)? And one more thing, is it possible to process such a links somehow:

http://www.inf.tu-dresden.de/~s5184413/Download.php?Filename=POP3Plugin.zip[/face]
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

I don't think it's possible to have its own shortcut keys for the moment in the TC panel.

I intend to support direct download in the next version.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Post Reply