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
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
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
ld 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 FT
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
Hello,
Thanks DZ-Jay, you hit the nail on the head! Sorted it <=o)
Cheers
Rick
On Oct 3, 2006, at 16:53, rick cusimano wrote:
>Imagine you have 2 files, within the following directories:
>
>a\b\c\d\file1.txt
>1\2\3\file2.txt
>
>If you try to change to one directory then
Hellol,
I'm having problems with the FTP Client component which I've managed to
narrow down to one simple test.
There seems to be a bug when retrieving directory listings/changing
directories. In particular, when changing between directories which are 3
or more layers deep.
I've tried the fo