delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/20:52:46

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: basic ftp commands
Date: Thu, 26 Mar 1998 20:44:39 -0600
Organization: Spectrum Healthcare Services
Lines: 39
Message-ID: <351B1297.14BA557A@a.crl.com>
References: <6fbtq4$pme AT bgtnsc03 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: a116023.stl1.as.crl.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

D. Williams wrote:
> 
> Hello,
> 
> I am not an FTP guru.  I'm trying to move some folders and their files
> from an NT machine to a unix machine.
> 
> 1. How do I move all the folders in a particular directory with all of
> their files (NT box) to a remote unix box.
> 
> In a file called rune.bat I have:
> 
>         CALL FTP -n -s:g:\export\uman.tes 1.2.22.3
> 
> In the file called uman.tes I have:
> 
>         cd /import
>         put scan1.new
>         quit
>         exit
> 
> scan1.new is a folder on the NT box with 10 files in it.  Of course the
> put command is for files and not for directories.
> 
> 2. How to do #1 but change the name of the folders as I move them.
> 
> EX.
> g:\alt\scan1.new  (move to unix box in /import directory and change name
> to)      scan1.vxx

You need a better FTP client than the Windows NT ftp.  Take a look at
WS_FTP.  I have a five year old version that moves whole directories
(e.g., "get djgpp" to get the whole DJGPP tree off of simtelnet).  I
don't know if it is still free or if it is still available.  The last
time I saw it was on a SpryNet's ISP CD-ROM as a teaser shareware.

--
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019