Open file on web that does not end with file extension

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
rkrite
Posts: 18
Joined: Wed Oct 08, 2003 10:38 pm
Location: Sydney

Open file on web that does not end with file extension

Post by rkrite »

Hi,

I really like that i can open a file directly from the web... such like this....

http://textpad.com/index.html

However, if the file does not end with a file extension, then it will give me an 'invalid file name' error.

..eg...

http://textpad.com/

Is there a way to get around this? or, does a "wishlist" type thing exist for TextPad for future releases?

Thanks
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

This is a browser issue, not a TextPad issue.

Web sites, DNS sites, firewalls, web pages, and browsers can all affect what will happen when you type in a URL.

Sometimes you will run into rules that require a full name like "http://www.domain.com/home.htm". Some can handle "domain.com", some can handle "www.domain.com", etc. If no page is listed then there may be a search default that is looked for, such as index.htm, home.htm, etc. What results you will see depends on your browser, the version, the Web host, and the coding on the pages.

As an example, I used your example of
and five of my browsers opened up the TextPad page with no problem. That was using MSIE 6.0.26, Netscape 4.79, 6.2.3, 7.0, and Mozilla 1.4 using Win98SE and WIN98ME systems.
Hope this was helpful.............good luck,
Bob
rkrite
Posts: 18
Joined: Wed Oct 08, 2003 10:38 pm
Location: Sydney

Post by rkrite »

Thanks bob, but I was actually talking about opening the web site in textpad....

if you go into textpad, then go File-->Open then type in http://www.example.com/index.html is will fetch the page for you...

but if you open http://www.example.com it will error.
User avatar
s_reynisson
Posts: 940
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

I can open all of your url's. Using TP 4.7.1.
I also have the file ending "*." in Document class Text.
The http://www.example.com pop's up in binary mode though.
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Hmmmmm. I am confused.

I just opened your example of http://textpad.com with no problem. But when I "opened" it, I was using View, In WebBrowser, which opened up the browser with the default page. Was going to write that I had no problem "opening" the file in TextPad.

Then I re-read your message about using File Open. And I can't open anything using URL path. I have tried using *.* for all files, and *.htm/html but keep getting message that "file name is invalid". Closer reading of error message shows that "MyComputer" or local Drive paths are preceeding the "http" heading.

How do I overcome that? What setting am I missing?
Hope this was helpful.............good luck,
Bob
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

For me, opening an URL does not work - the current working folder is prepended to the http

(Textpad 4.7.1, Win2K)
Post Reply