Post subject: firefox extension: file://\\ -> smb://
Posted: Wed 01-12-2005 10:20PM
Colonel
Joined: Tue 03-18-2003 6:44PM Posts: 747
Source: Off Campus
i got productive today and started making an extension for firefox that'll let you right click a fucked up file://\\whatever\file\youwant.blah url and choose "smbfix" to open that link in smb:// format. but i dont live on campus and don't have access to seek, so i dont know if it works properly or not. or if file://\\ is really the prefix that seek puts on the links. ive tested it with file://\\192.168.0.4\shareddocs\ and a few other examples locally, but thats all im able to do from here.
(you'll probably have to either add that site as "trusted" or just save link as and open it in FF manually)
if this one works but doesnt prove so useful, i could probably also make it open the file:\\// link as smb:// in konqueror/nautilus/etc if you think that would be better
Joined: Sun 08-17-2003 8:06PM Posts: 144 Location: 127.0.0.1
Source: TJ North
in linux, i see that the links are of the form
http://131.151.191.95:8080/\\131.151.xxx.xxx\path\to\file
rather than
file://\\131.151.xxx.xxx\path\to\file
_________________ It is impossible to make anything foolproof because fools are so ingenious.
Joined: Sun 08-17-2003 8:06PM Posts: 144 Location: 127.0.0.1
Source: TJ North
for the linux/mac community, it would be much easier if there was just an option to use smb-style links, similar to what's already there for the dash42-style links...
just my $.02
_________________ It is impossible to make anything foolproof because fools are so ingenious.
in linux, i see that the links are of the form http://131.151.191.95:8080/\\131.151.xxx.xxx\path\to\file rather than file://\\131.151.xxx.xxx\path\to\file
you can just install the xpi again and restart ff and itll use the new one
Quote:
for the linux/mac community, it would be much easier if there was just an option to use smb-style links, similar to what's already there for the dash42-style links...
i agree, but i dont have any control over that. this is just a sloppy workaround until that (hopefully) gets implemented. and i dont know what you mean with the dash42-style links... i'm off campus and dont have windows.
Joined: Mon 07-26-2004 10:05PM Posts: 89 Location: 765 TJ South
Source: TJ South
If one could be made for konqueror, that would seem much more useful. I much prefer using it to firefox for downloading files, especially of the size on seek.
The format of
http://131.151.191.95:8080/\\192.168.0.104\SharedDocs\desktop.ini to smb://192.168.0.104/SharedDocs/desktop.ini is what would be needed for konqueror.
Thanks.
_________________ "I always find it hard to believe that there are people out there that think every problem can be solved without violence." --moo
I prefer a less bleak outlook on the world!
The vinyl's still kickin' on my turntable tonight!
\\tuxbox
I just use autofs to allow for access to shares automagically via /var/autofs/smbbrowse/SERVERNAME
See http://greenfly.org/tips/autofs.html for setup info, but don't use his script because it doesn't quite work (seems to time out trying to send a command to port 445?).
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum