Wiki source for FtpServer
===FTP Server===
==create ftp files==
copy files to %%/var/ftp/pub%%
==enable ftp server==
enable anonymous ftp access
%%
$ vi /etc/vsftpd/vsftpd.conf
[allow anonymous!]
%%
start ftp service
%%
# service vsftpd start
%%
==test curl & wget ==
%%
$ curl -C - -O -x<myproxyip>:<myproxyport> ftp://archive.download.redhat.com/pub/redhat/linux/updates/8.0/en/os/i386/LPRng-3.8.9-6.1.i386.rpm
$ ftp_proxy=<myproxyip>:<myproxyport> wget ftp://archive.download.redhat.com/pub/redhat/linux/updates/8.0/en/os/i386/LPRng-3.8.9-6.1.i386.rpm
%%
==Test your FTP server==
%%
$ wget ftp://<myftpserver>/pub/redhat8/RPM-GPG-KEY
$ curl ftp://<myftpserver>/pub/redhat8/RPM-GPG-KEY
%%
----
REFERRERS
{{backlinks}}
==create ftp files==
copy files to %%/var/ftp/pub%%
==enable ftp server==
enable anonymous ftp access
%%
$ vi /etc/vsftpd/vsftpd.conf
[allow anonymous!]
%%
start ftp service
%%
# service vsftpd start
%%
==test curl & wget ==
%%
$ curl -C - -O -x<myproxyip>:<myproxyport> ftp://archive.download.redhat.com/pub/redhat/linux/updates/8.0/en/os/i386/LPRng-3.8.9-6.1.i386.rpm
$ ftp_proxy=<myproxyip>:<myproxyport> wget ftp://archive.download.redhat.com/pub/redhat/linux/updates/8.0/en/os/i386/LPRng-3.8.9-6.1.i386.rpm
%%
==Test your FTP server==
%%
$ wget ftp://<myftpserver>/pub/redhat8/RPM-GPG-KEY
$ curl ftp://<myftpserver>/pub/redhat8/RPM-GPG-KEY
%%
----
REFERRERS
{{backlinks}}