<[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 11, 2006 9:15 AM
Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
> Thanks for all your help, guys. Yes that makes a lot of sense. I didn't
> realise CWD only changed directory RELATIVE to the current directory.
On Oct 11, 2006, at 03:15, rick cusimano wrote:
> Thanks for all your help, guys. Yes that makes a lot of sense. I
> didn't
> realise CWD only changed directory RELATIVE to the current directory.
>
> I've tried adding a '/' to the start of the path, but that didn't work.
> I've also tried a '\
Thanks for all your help, guys. Yes that makes a lot of sense. I didn't
realise CWD only changed directory RELATIVE to the current directory.
I've tried adding a '/' to the start of the path, but that didn't work.
I've also tried a '\', but that didn't work either. Whats the easiest way
of
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 10, 2006 8:34 PM
Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
>
>> So you should first change the working directory
>> to t
> So you should first change the working directory
> to the "root" path and then try the second CWD
> command with the "a\b\c\d" HostDirName ...
No, that would require an extre round-trip. As
others have pointed out, you should use "absolute"
paths by starting all your paths with a '/' (or '\'
ssi
- Original Message -
From: "rick cusimano" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 10, 2006 2:22 PM
Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
> Hello,
>
> Thanks for pointing out that I can retrieve the last response from the
&
Hi,
Current dir is "\"
> HostDirName = '1\2\3\';
> Cwd; // No Failure
of course
> HostDirName = 'a\b\c\d\';
> Cwd; // ERROR: 550 a\b\c\d\ : The system cannot find the path specified.
Haha, no surprise. The server is now looking for \1\2\3\a\b\c\d, and that
porbably doesn't exist.
Set hostdir
PROTECTED]
http://www.overbyte.be
- Original Message -
From: "rick cusimano" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 10, 2006 7:22 PM
Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
> Hello,
>
> Thanks for pointing out that I can retr
:[EMAIL PROTECTED]
On
> Behalf Of rick cusimano
> Sent: Tuesday, October 10, 2006 1:23 PM
> To: twsocket@elists.org
> Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
>
> Hello,
>
> Thanks for pointing out that I can retrieve the last response from the
> s
Hello,
Thanks for pointing out that I can retrieve the last response from the
server, I didn't realise Cwd results came just as a response and not as an
event.
Ok so this is what happens:
HostDirName = '1\2\3\';
Cwd; // No Failure
HostDirName = 'a\b\c\d\';
Cwd; // ERROR: 550 a\b\c\d\ : The sy
...
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
- Original Message -
From: "rick cusimano" <[EMAIL PROTECTED]>
To:
Sent: Monday, October 09, 2006 10:53 PM
Subject
rick cusimano wrote:
> Could anyone suggest a resolution or a better way to debug what's
> going on?
If you do not provide the error number as well as the error text,
how should anybody know what's going on?
When CWD failes log FtpClient1.LastResponse as well as
FtpClient1.ErrorMessage.
---
> Just to reiterate, I'm trying to do a recursive download from an
> FTP Server to basically do a full backup. It works fine most of
> the time, but occasionally the Cwd command fails to change
> directory causing files to be downloaded in the wrong place.
Try using my File Transfer Components
As requested I've done some more testing with this, however I'm not getting
any closer.
Just to reiterate, I'm trying to do a recursive download from an FTP Server
to basically do a full backup. It works fine most of the time, but
occasionally the Cwd command fails to change directory causing
> Just to clarify, these are directories that I KNOW exist - I'm doing a
> recursive download from an FTP site. How would you recommend I recover
> from
> a failed CWD command?
I can't recommand anything before knowing the exact error.
Contribute to the SSL Effort. Visit http://www.overbyte.be/
> Just to clarify, these are directories that I KNOW exist - I'm doing a
> recursive download from an FTP site. How would you recommend I recover from
> a failed CWD command?
That doesn't mean that you are allowed to access these directories. If CWD
fails, there's a reason for that, usually on
MAIL PROTECTED]>
Subject: Re: [twsocket] How to handle a failed CWD with FTPClient...
To: "ICS support mailing"
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
Rick,
if CWD fails, why do you expect it cou
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "rick cusimano" <[EMAIL PROTECTED]>
To:
Sent: Sunday, October 08, 2006 12:42 PM
Subject: [twsocket] How to handle a faile
On Oct 8, 2006, at 06:42, rick cusimano wrote:
> I've been having some issues with FTPClient where sometimes, on some
> servers, it would fail to change the working directory (thanks to
> whoever
> pointed that out btw)
Perhaps its a permission issue? If so, you won't be able to change to
that
Rick,
if CWD fails, why do you expect it could work if you just try it again?
-gunnar
- Original Message -
From: "rick cusimano" <[EMAIL PROTECTED]>
To:
Sent: Sunday, October 08, 2006 12:42 PM
Subject: [twsocket] How to handle a failed CWD with FTPClient...
>
Hi,
I've been having some issues with FTPClient where sometimes, on some
servers, it would fail to change the working directory (thanks to whoever
pointed that out btw)
I've been trying to change the code to test for this and I thought I had it
cracked, but its still not quite right.
This is
21 matches
Mail list logo