curl-and-php
RE: 550 FTP return Code and full URI
Date: Fri, 19 Jun 2009 20:32:53 +0200
The problem is that CURL library send fragments of path and not fullpath:
CWD /FUSION/ES/TEST1
Any lib option to solve this ?
------------------------- CURL URI----------------------------------------
> * About to connect() to ftpsecure.ingrammicro.com port 21 (#0)
> * Trying 63.101.150.69... connected
> * Connected to ftpsecure.ingrammicro.com (63.101.150.69) port 21 (#0)
> < 220 tn3270-ftp Microsoft FTP Service (Version 4.0).
> > USER *****
> < 331 Password required for *****.
> > PASS *****
> < 230-Welcome to Ingram Micro Customer FTP site! IF YOU EXPERIENCE DIFFICULTIES
> < 230-UNZIPPING YOUR FILES, PLEASE UPGRADE YOUR ZIP UTILITY.
> < 230-TO UPGRADE YOUR SHAREWARE ZIP UTILITY, PLEASE GO TO: http://www.winzip.com
> < 230-If you experience any difficulties in accessing or using this site,
> < 230-please contact the Electronic Commerce Support Center at (800) 616-4665.
> < 230-
> < 230 User ****** logged in.
> > PWD
> < 257 "/" is current directory.
> * Entry path is '/'
> > CWD FUSION
> < 250 CWD command successful.
> > CWD ES
> < 550 ES: Access is denied.
> * Server denied you to change to the given directory
> * Connection #0 to host ftpsecure.ingrammicro.com left intact
> curl: (9) Server denied you to change to the given directory
> > QUIT
> < 221
> * Closing connection #0
>
> -------------------- WGET URI--------------------------------------
>
> Resolviendo ftpsecure.ingrammicro.com... 63.101.150.69
> Connecting to ftpsecure.ingrammicro.com|63.101.150.69|:21... conectado.
> Identificándose como ****** ... ¡Dentro!
> ==> SYST ... hecho. ==> PWD ... hecho.
> ==> TYPE I ... hecho. ==> CWD /FUSION/ES/TEST1 ... hecho.
> ==> SIZE PRICE.ZIP ... 904597
> ==> PASV ... hecho. ==> RETR PRICE.ZIP ... hecho.
> Longitud: 904597 (883K)
-- -- -- Publicidad y Servicios http://www.pas-world.com Directorio http://www.precioventa.com Tienda http://informatica.precioventa.com/es/ Autoridad certificadora http://ca.precioventa.com/es/ -- -- _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2009-06-19