🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to, using wininet ( FTP ) set local directory

#15164
From: Hugo Oliveira Dias
Date: Thu, 17 Jul 2003 14:05
21 lines
1515 bytes
"Boguslaw Fries" <B.Fries@luca-online.de> wrote:
>I know how to set remote directory :
>        rc = FtpSetCurrentDirectory( Hconnection, Dir );
>
>but how to set local directory ( as lcd command )
>best regards
>
>Boguslaw Fries
>
>

You have to set directory for the current process, using :

BOOL SetCurrentDirectory(
    LPCTSTR lpPathName 	// address of name of new current directory 
   );

Regards,

Hugo Oliveira Dias
Technical Details
Message-ID: <3f16ad16$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f1697be@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,39335793e27d9cf0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 07:11:04 PST
From: "Hugo Oliveira Dias" <hugo.dias@no-spam.pluricanal.net>
Sender: "Hugo Oliveira Dias" <hugo.dias@no-spam.pluricanal.net>
Reply-To: "Hugo Oliveira Dias" <hugo.dias@no-spam.pluricanal.net>
Subject: Re: How to, using wininet ( FTP ) set local directory
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 213.58.167.9 213.58.167.9    
References:  <3f1697be@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f16ad16$1@newsgroups.borland.com>
Date: 17 Jul 2003 07:05:10 -0700
X-Trace: newsgroups.borland.com 1058450710 207.105.83.65 (17 Jul 2003 07:05:10 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail