🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3739

Paths into URL

#3739
From: Michele Santucci
Date: Wed, 15 Jun 2005 13:50
19 lines
1286 bytes
Hello NG,

How can I translate a File Path into an URL?
I mean something like that:
    C:\Program files\MyApp\Data\File.txt
into:
    file://C|:/Program files/My App/Data/File.txt

-- 
Michele Santucci
===================
Celin Avio S.r.l.
Software Dev. Manager
--------------------------------------
tel. +390187564080
Via Fontevivo 21/M
19126 La Spezia
=================== 
Technical Details
Message-ID: <42b0320e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2772c7903ef79719,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Michele Santucci" <michele.santucci@celinavio.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Paths into URL
Date: Wed, 15 Jun 2005 15:50:05 +0200
Lines: 21
Organization: Celin Avio S.r.l.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.86.50.144
Message-ID: <42b0320e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118843406 80.86.50.144 (15 Jun 2005 06:50:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail