cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to change to higher dir?

From: Barry Ringuet <bringuet_at_loomissayles.com>
Date: Wed, 18 May 2005 09:58:39 -0400

rather than bore everyone to death with struggling with 7.8, compiled
7.13.1 and get something slightly different...

[someuser_at_somehost mydir]$ ./curl/bin/curl -O -v -u someuser:somepass
ftp://someftpserver.com/somedir/somefile
* About to connect() to someftpserver.com port 21
* Trying 6.6.6.6... * connected
* Connected to someftpserver.com (6.6.6.6) port 21
< 220 Welcome to blah. Authorized use only. Access is monitored. Time =
09:46:41
> USER someuser
< 331 Password required for someuser
> PASS somepass
< 230 Connect:Enterprise UNIX login ok, access restrictions apply.
* We have successfully logged in
> PWD
< 257 "/someotherdir" is current directory.
* Entry path is '/someotherdir'
* protocol connect phase DONE
* DO phase starts
> CWD somedir
< 550 invalid pathname: 'somedir'.
* DO phase is comlete
* Remembering we are in dir somedir/somefile
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Connection #0 to someftpserver.com left intact

curl: (9) FTP: access denied
> QUIT
< 221 Goodbye.
* Closing connection #0
someuser_at_somehost mydir]$

how bogus eh?
security through obscurity...

appreciate your help
barry ringuet
Received on 2005-05-18