taaz
asked on
ftp
I need to upload a file to a directory in ftp> from http site.
what is the way to do that.
ftp> need to upload a file from http://.....
what is the way to do that.
ftp> need to upload a file from http://.....
can you please elaborate ...
please be more specific about your needs?
Which server-side language? PHP, Perl, JSP, ASP...?
ASKER
http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64/gcc-c++-4.1.2-51.el5.x86_64.rpm is a file that i want to upload on a ftp server
I want to upload the rpm package in the directory that I created on the ftp server.
rpm_pkg
ftp> /stage/rpm_x86_64
what command i need to use to get the gcc-c++-4.1.2-51.el5.x86_6 4.rpm in the rpm_x86_64 directory?.
I want to upload the rpm package in the directory that I created on the ftp server.
rpm_pkg
ftp> /stage/rpm_x86_64
what command i need to use to get the gcc-c++-4.1.2-51.el5.x86_6
cd /stage/rpm_x86_64
put gcc-c++-4.1.2-51.el5.x86_6 4.rpm
put gcc-c++-4.1.2-51.el5.x86_6
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the rpm "/gcc-c++-4.1.2-51.el5.x86 _64.rpm" is on the site
http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64
how to first connect to the site and upload by using the put command
ftp> cd /stage/rpm_x86_64
ftp> put http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64//gcc-c++-4.1.2-51.el5.x86_64.rpm
is the above command correct? to upload teh package "/gcc-c++-4.1.2-51.el5.x86 _64.rpm"?
http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64
how to first connect to the site and upload by using the put command
ftp> cd /stage/rpm_x86_64
ftp> put http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/x86_64//gcc-c++-4.1.2-51.el5.x86_64.rpm
is the above command correct? to upload teh package "/gcc-c++-4.1.2-51.el5.x86
ASKER
thanks for a detailed answer
Welcome