>...on the CD command gives "Error 550: No such file or directory".

Usually, most ISPs put the WWW directory for a given user in the root of
their FTP space.  Assuming that, try putting a leading "/" at the front of
the path you want to CD to.  This forces the FTP server to start looking for
the path from the root of the FTP space; by not adding the "/" you are
asking the server to CD using a relative path from the current directory.

So, try this instead:

USER XXXX
PASS XXXX
CONNECT ftp.foo.net
CD /WWW
CLOSE

If it doesn't work, log in manually with WS-FTP and CD to the WWW directory.
Look in the address bar for the remote site and note the path that it shows
(the result may be surprising).  Use this complete path in your script and
that should work fine.

-- 
Chazzozz!!

Michael Shannon
Webmaster
[EMAIL PROTECTED]

"Nature has provided us with two ears, two eyes, and one tongue, to the end
that we should hear and see more than we should talk." - Socrates

Note: Opinions expressed on this list are my own and do not reflect the
views, opinions or position of my employer.  If swallowed, seek medical
advice.




Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from 
this list.

Reply via email to