[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rename by ncftp



On Fri, Nov 01, 2002 at 06:46:53PM +0900, ??? wrote:

> There is some way to backup data like ncftpput -R -u expt -p expt
> ftp://21.101.3.12/tmp c:/temp.Sat.tgz.  Then is there a way to
> renameing the file temp.Sat.tgz through ncftp?

I don't use ncftp but I see the man page refers to a -z option:

              This  command  is  similar to the behavior of other
              FTP programs' mput command.  To send a remote  file
              but  give it a different name on your host, you can
              use the ``-z'' flag.  This  example  shows  how  to
              upload  a  file  called ``ncftpd-2.0.6.tar.gz'' but
              name it remotely as ``NFTPD206.TGZ:''

                   put -z ncftpd-2.0.6.tar.gz NFTPD206.TGZ

I have not tried it.

Regards.
Johann
       

-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Train up a child in the way he should go; and when he
      is old, he will not depart from it."   Proverbs 22:6 



Reply to: