🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7578

OpenDialog (GetOpenFileName) + FTP

#7578
From: roladdon
Date: Thu, 20 Jan 2005 20:12
14 lines
1481 bytes
CBuilder6:
In OpenDialog you can go to my networkplaces and there you can select an ftp 
file.
If this is done - Windows copies the file to a tmp dir and returns a pointer 
to a copy of the file.

1) How can I disable ftp site acces in OpenDialog  ?
    (the user still needs access to regular network files)

2) How do I know it's an ftp  file  and it's location?
    (right now i check for  "Temporary Internet Files"  in the file name)


Roland 
Technical Details
Message-ID: <41f010ae$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!ecngs!feeder.ecngs.de!195.40.0.165.MISMATCH!easynet-monga!easynet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c49d7f4ff5620ace,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "roladdon" <roladdon@PutMyServerHere.ca>
From: "roladdon" <roladdon@PutMyServerHere.ca>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: OpenDialog (GetOpenFileName)  + FTP
Date: Thu, 20 Jan 2005 15:12:32 -0500
Lines: 16
Organization: AddOn
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: 64.231.168.220
Message-ID: <41f010ae$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106251950 64.231.168.220 (20 Jan 2005 12:12:30 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!ecngs!feeder.ecngs.de!195.40.0.165.MISMATCH!easynet-monga!easynet.net!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail