🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

IdFTP ChangeDir problem

#2625
From: David Ayre
Date: Fri, 17 Mar 2006 15:33
13 lines
1206 bytes
Hi,

I am trying to retrieve data from one subfolder and send to another.
If I use IdFTP1->ChangeDir("/Sub1"); this is fine and I can
Get data from this folder.
I then want to change to subfolder /Sub2. Do I do this?
IdFTP1->ChangeDir("/Sub2"); or should it be"./Sub2" or "../Sub2".
Ive tried all combinations I can think of but to no avail.

Cheers,

David
Technical Details
Message-ID: <441ae4df$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5108d62bd1477dc8,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Ayre" <davidcayre@ntlworld.com>
Sender: "David Ayre" <davidcayre@ntlworld.com>
Reply-To: "David Ayre" <davidcayre@ntlworld.com>
Subject: IdFTP ChangeDir problem
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 62.252.224.18     
X-Forwarded-For: 86.14.92.125
NNTP-Posting-Host: 207.105.83.66
Message-ID: <441ae4df$1@newsgroups.borland.com>
Date: 17 Mar 2006 08:33:35 -0700
X-Trace: newsgroups.borland.com 1142613215 207.105.83.66 (17 Mar 2006 08:33:35 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail