Thread: PWD Command?
View Single Post
Old 06-05-2008, 05:38 AM  
DayCuts
Senior Member
 
Join Date: Dec 2003
Posts: 421
Default

iirc (which i am admittidy not confident of) but the rfc's do not require that a cwd-response return anything useful with the numeric. such data is questionably useless anyway. the numerics themself are only required to indicate the success or failure of the command.

I am not sure of the rfc information regarding pwd, but since a cwd-response only requires the success or failure numerics be returned regardless of where you might end up upon a success, it is logical that a pwd and response should follow a successful cwd command.

Should also note that although many servers provide a little more than success/failure numerics, the fact that it is not a required return means that there is no standard to the response making it unreliable.
DayCuts is offline