Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
134 user(s) are online (99 user(s) are browsing Forums)

Members: 1
Guests: 133

davec555, more...

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7)
Re: Got a hunch on OS4.1 final update release?
Home away from home
Home away from home


See User information
@trixie

Quote:

Now THIS is what we needed! Well done!


I agree, looks very nice and very easy.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Got a hunch on OS4.1 final update release?
Home away from home
Home away from home


See User information
@Rigo

Cool

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Got a hunch on OS4.1 final update release?
Quite a regular
Quite a regular


See User information
@Rigo

Quote:

Rigo wrote:
@trixie

It's pretty invisible to the system, and can be used in a variety of ways. From a shell, you could simply do:

"type URL:http://codebench.co.uk"

and the page will load into the configured browser, or from a programming point of view you can:

IDOS->Open( "URL:http://codebench.co.uk", MODE_NEWFILE );

And the page will open again with the settings you put into Prefs/URL.

As a bonus, you don't even need to close this filehandle, as that is done automatically when you close the browser.

You can also do:

IDOS->Open("URL:mailto:me@home.com", MODE_NEWFILE );

or

IDOS->Open("URL:https://mybank.com", MODE_NEWFILE );

It's all very easy really. There is even a URLOpen command in C: if you need to use it from a script.

Simon


that means my work on FTPMount is almost useless then now... Unless I misunderstood what URL handler is capable of.

Back to a quiet home... At last
Go to top
Re: Got a hunch on OS4.1 final update release?
Supreme Council
Supreme Council


See User information
@abalaban

Quote:

that means my work on FTPMount is almost useless then now... Unless I misunderstood what URL handler is capable of.


Not at all, currently there is no FTP protocol defined for URL, so IDOS->Open("URL:ftp://aminet.net", MODE_NEWFILE ) is currently not supported.

Simon


Edited by Rigo on 2010/1/15 14:21:40
Go to top
Re: Got a hunch on OS4.1 final update release?
Supreme Council
Supreme Council


See User information
@abalaban

It does not replace the functionality of ftpmount.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: Got a hunch on OS4.1 final update release?
Quite a regular
Quite a regular


See User information
@orgin

if FTP protocol have been supported you might have been able to point Filer on URL:ftp://someserver.com and obtain the listing... This would have been the same as using FTPMount.

Back to a quiet home... At last
Go to top
Re: Got a hunch on OS4.1 final update release?
Just popping in
Just popping in


See User information
@trixie

Actually that should be MODE_OLDFILE and yes,
you do have to close what Open() returned,
just like any normal stream.

The docs are in;
sys:documentation/handler/launch-handler.doc
and
sys:documentation/c/URLopen.doc

Go to top
Re: Got a hunch on OS4.1 final update release?
Amigans Defender
Amigans Defender


See User information
@abalaban

No, it only sends the URL to an application, it doesn't know about FTP (or HTTP or whatever) itself, AIUI.

Go to top
Re: Got a hunch on OS4.1 final update release?
Supreme Council
Supreme Council


See User information
@abalaban

That's not what this feature does. It only sends the URI to another application as configured in sys:prefs/URL

It does _NOT_ let you read data from the URI.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top

  Register To Post
« 1 ... 4 5 6 (7)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project