** I want to use yum command on my system to install rpm from RedHat CD.

Hi friends,

i have installed RedHat 5 on my system
and configured VSFTPD on it. vsftpd service is running.
and in /var/ftp/pub i created a Server folder and copied all RedHat rpm's in to it from RedHat CD.

and then created /etc/yum.repos.d/<fiename>.repo file. Details follows

[root@localhost ~]# cat /etc/yum.repos.d/moid.repo

[yumfiles]
name=yumfiles
baseurl=ftp://127.0.0.1/pub/Server
gpgcheck=0
enable=1

[root@localhost ~]# yum clean all

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Cleaning up Everything
[root@localhost ~]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
ftp://127.0.0.1/pub/Server/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: yumfiles

***I am getting this error. Before i tried this, it worked. but now i am getting error... Could any one hep me???