From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,c18c6192c3bab5b6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-07 05:32:10 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!uninett.no!news.ost.eltele.no!news2.oke.nextra.no!nextra.com!news1.oke.nextra.no.POSTED!not-for-mail From: "�yvind Skjold" Newsgroups: comp.unix.tru64 References: <3A9BBBC3.CB176B44@hotmail.com> Subject: Re: Multiple FTP's.. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <8Kqp6.950$tR1.10120@news1.oke.nextra.no> Date: Wed, 7 Mar 2001 14:30:14 +0100 NNTP-Posting-Host: 195.70.160.230 X-Complaints-To: news-abuse@nextra.no X-Trace: news1.oke.nextra.no 983971844 195.70.160.230 (Wed, 07 Mar 2001 14:30:44 MET) NNTP-Posting-Date: Wed, 07 Mar 2001 14:30:44 MET Organization: Nextra Public Access Xref: supernews.google.com comp.unix.tru64:1799 Thanks, this is working!! The strange thing is that it don't violate the naming convention! I don't know what system they use.. �yvind. ---------------- "Mario Stargard" wrote in message news:3A9BBBC3.CB176B44@hotmail.com... > Well, I would imagine that would violate the naming convention on any > OS. OS/390 uses Global Datasets (GDG files) with versioning so that you > can ftp to a remote file and increment the version number. The remote > system must have some way of uniquely identifying the files. > On the other hand, if you just want to over-write the same file, just > use a for loop within ftp Here Text like so: > > #!/bin/ksh > ftp -nv hostname <<_HERE_ > user username password > cd directory > $( for file in * ; do > print "put $file TEST" > done ) > bye > _HERE_ > > "�yvind Skjold" wrote: > > > > Anyone?? > > > > I'm trying to create a script which has it's purpose to FTP > > multiple files from a local machine to a remote server . > > That's works fine using the mput-command.. > > > > But the problem is the to rename multiple files to the exact same > > at the remote server... > > > > I have 10 files, let's say: ( on the local machine ) > > test1.p > > test2.p > > test3.p > > . > > . > > . > > test10.p > > > > And I want to rename al of them to TEST on te remote-server.. > > > > Then I will have : ( on the remote-server ) > > > > TEST > > TEST > > TEST > > TEST > > . > > . > > TEST > > > > mput test*.p TEST - doesn't work.. ( as you probably know :-) ) > > > > Read something about using ntrans and nmap with mput?? > > > > �yvind.