Re: Copying file via HTTP fails

From: Toh Soon, Lim (tohsoon28@gmail.com)
Date: Wed Nov 21 2007 - 03:22:24 ART


Hi Bajo,

I have the following config but the copy http operation still fails:

R5

--
!
username test password test
ip http server
ip http authentication local
ip http path flash:
!

R5#dir flash: Directory of flash:/ 20 -rw- 1959 Nov 21 2007 23:21:10 +08:00 test.jpg

R2 -- R2#pi 150.50.9.5

Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 150.50.9.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

R2#copy http://test:test@150.50.9.5/test.jpg flash: Destination filename [test.jpg]? %Error opening http://test:test@150.50.9.5/test.jpg (Permission denied)

R2#copy http://test:test@150.50.9.5/flash/test.jpg flash: Destination filename [test.jpg]? %Error opening http://test:test@150.50.9.5/flash/test.jpg (Permission denied)

What did I miss in my config? Please advise.

Thank you.

B.Rgds, Lim TS

On 11/21/07, Bajo <bajoalex@gmail.com> wrote: > > Hi Toh, > > Try "copy http://UID:PWD@150.1.4.4/flash/t1.txt flash" > > Destination filename [t1.txt]? > Loading http://****************@150.1.4.4/flash/t1.txt ! > 2938 bytes copied in 0.428 secs (6864 bytes/sec) > > > UID=user id and PWD=password > > > On 11/20/07, Toh Soon, Lim <tohsoon28@gmail.com> wrote: > > Hi Group, > > > > I encountered an issue which I need help. A very simple setup: R2 & R5 > are > > directly connected via a serial link. No ACLs or QoS policy on their > > interfaces. They can ping to each other. > > > > I configured the following commands on R5: > > > > ip http server > > ip http path flash: > > > > There's a file called test.jpg in its flash: directory. On R2, I copied > > test.jpg from R5 via HTTP, as follows: > > > > R2#copy http: flash: > > Address or name of remote host [150.50.9.5]? <---- IP address of R5's > > serial interface > > Source filename [test.jpg]? > > Destination filename [test.jpg]? > > %Error opening http://150.50.9.5/test.jpg (Permission denied) > > > > What am I missing? Kindly help. > > > > > > Thank you. > > > > B.Rgds, > > Lim TS > > > > _______________________________________________________________________ > > Subscription information may be found at: > > http://www.groupstudy.com/list/CCIELab.html > > > > > -- > Kind Regards, > > Bajo



This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:30 ART