On Sun, 2011-03-13 at 20:55 -0700, Anirudh Visweswar wrote: > Hi, > > I tired to upload an xml file using HttpClient 4.0 to an ftp server by > supplying credentials and it was working fine,but when i tried uploading the > same using HttpClient 4.1 version, I get the following response , > > If we refer the log ,we can see that it is loggin to the website,but unable > to authenticate . Please help . > > Find attached the log. http://old.nabble.com/file/p31141054/wirelog.txt > wirelog.txt
Well, as far as I can tell authentication worked just fine 3966 [main] DEBUG org.apache.http.client.protocol.ResponseProcessCookies - Cookie accepted: "[version: 0][name: FDX][value: 51546e6630592b5737486177336c346147584f7a2b773d3d][domain: xfr.ebx.td.com][path: /][expiry: null]". ... 3966 [main] DEBUG org.apache.http.wire - << "Virtual user xs003658 logged in.[\n]" ... 4036 [main] DEBUG org.apache.http.impl.conn.DefaultResponseParser - Garbage in response: <TITLE>401 Authorization Required</TITLE> The problem is that the server responded with garbage to the subsequent request, which looks like a server side bug to me. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
