Re: FTP From Integrated projects



In message <FF62D8A679AD0345A71D4C845939B21406D2EB5B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Ray Shahan <rshahan@xxxxxxxxxxxxxxxxx> writes
Kent, the CWD may be Current Work Directory, and if this is the case, it
amounts to the same thing as PWD.

CWD in some FTPs is the command 'Change Working Directory', which is accomplished in most FTPs by CD; including the HP3000 FTP and the Microsoft FTP running on my Windows XP PC.

Hence the following:

ftp> cwd reskit
Invalid command.
ftp> cd reskit
250 CWD command successful.

Notice, though, that after issuing the successful 'cd', the response includes CWD (Current? Change? Who knows?)

However, a 'Remotehelp' in this session (which is from my PC to Microsoft's FTP server) reveals that CWD is a command supported on the remote server, and CD isn't.

ftp> remotehelp
214-The following commands are recognized(* ==>'s unimplemented).
ABOR
ACCT
ALLO
APPE
CDUP
CWD
DELE
........

How dumb is any of this, when a 'standard' product isn't always implemented in a standard way? Ho hum.......

Anyway, the thing to do is to change your FTP script to issue CD, not CWD, assuming that you can do this.

--
Roy Brown 'Have nothing in your houses that you do not know to be
Kelmscott Ltd useful, or believe to be beautiful' William Morris

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

.



Relevant Pages

  • Re: libfetch ftp patch for less latency
    ... This might be a DOS ftp server thing however. ... there is an error to the all-in-one CWD, the code reverts back to legacy ... Also, considering the reply codes to the CWD command, only 421 seems to ...
    (freebsd-current)
  • Re: ftp connection in VB.NET
    ... The goal here is to return a list of all the files and directories in an FTP ... ___ RESPONSE IS COMPLETE ... 200 PORT command successful. ... > server, then the cwd \directoryname will success, and now current ...
    (microsoft.public.dotnet.framework)
  • Re: LWP::Simple getstore with absolute path not working
    ... That's how FTP URIs are supposed to work. ... | argument to a CWD command. ... Connect to host and log in as anonymous. ...
    (comp.lang.perl.misc)
  • Re: ftp connection in VB.NET
    ... If I am sure there is a mailroot directory in the root directory on my ftp ... try to run the command as cwd /directoryname. ... ' this will let us enter the directory CurrentDirectory, ...
    (microsoft.public.dotnet.framework)
  • Re: libfetch ftp patch for less latency
    ... Actually the rfc is kinda ... initial CWD is not / (the document part in an FTP URL is relative to ... I guess I should amend "this is a violation of the FTP protocol" to ...
    (freebsd-current)