🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdFTP ChangeDir problem

#2532
From: David Ayre
Date: Sat, 18 Mar 2006 08:02
39 lines
2220 bytes
Hi Remy,

Sub1 and Sub2 are both subdirectories of the root. If I change
directory to sub1 I can put and get files from it.
If I try to change directory to the other sub-directory, and try
to 'Put' a file to it, I get an error telling me that an
exception has been raise type EIdProtocolReplyError with message
'log.dbf'Append/Restart not permitted.
This happens on the following line:-
IdFTP1->Put("c:\\awsmon\\data\\log.dbf","log.dbf",true);
I have tried changing directory back to the root first, but
get the same error each time. Sub2 is empty so I am not trying
to append to an existing file, however, there is a 'log.dbf'
file in Sub1 so it looks as if it hasn't change directory.

Thanks,

David

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"David Ayre" <davidcayre@ntlworld.com> wrote in message
>news:441ae4df$1@newsgroups.borland.com...
>
>> I then want to change to subfolder /Sub2. Do I do this?
>> IdFTP1->ChangeDir("/Sub2"); or should it be"./Sub2" or "../Sub2".
>
>That depends on where Sub2 is actually located in relation to Sub1.  Please
>provide more details.
>
>> Ive tried all combinations I can think of but to no avail.
>
>What EXACTLY is happening?  Are you getting an error?  If so, what is it?
>
>
>Gambit
>
>
Technical Details
Message-ID: <441bcca6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.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
References: <441ae4df$1@newsgroups.borland.com> <441afbd0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5108d62bd1477dc8
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: Re: IdFTP ChangeDir problem
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 62.252.224.18     
X-Forwarded-For: 86.14.92.125
References: <441ae4df$1@newsgroups.borland.com> <441afbd0@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <441bcca6$1@newsgroups.borland.com>
Date: 18 Mar 2006 01:02:30 -0700
X-Trace: newsgroups.borland.com 1142672550 207.105.83.66 (18 Mar 2006 01:02:30 -0700)
Lines: 40
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.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