delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/10:15:57

From: "D. Williams" <doniaw AT worldnet DOT att DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: basic ftp commands
Date: Wed, 25 Mar 1998 16:45:27 -0500
Organization: TASCOR
Lines: 34
Message-ID: <6fbtq4$pme@bgtnsc03.worldnet.att.net>
NNTP-Posting-Host: 12.69.99.218
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

Thanks for your help

Donia
doniaw AT worldnet DOT att DOT net

- Raw text -


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