|
|
 |
RE: FN-FORUM: FTP Help 2 remote locations from one local Dir
date posted 5th August 2005 16:48
FTP doesn't automatically send the contents of sub-folders (unless anyone
knows otherwise) you would have to know the names of each subdirectory and
specifically send the contents of that dir too... E.g.
With nested folders:
dir1
+--- dir-1-b
+--- dir-1-b-1
Your ftp command script would be:
lcd dir-1
cd dir-1
mput *.*
lcd dir-1-b
cd dir-1-b
mput *.*
lcd dir-1-b-1
cd dir-1-b-1
mput *.*
If the nested folders aren't fixed, or there's loads of them, I'd go
Andrew's suggestion of PuTTY for windows.
Dave.
___________________________________________________________
Dave Boulden, Director. DA Media Limited
web: http://www.da-media.co.uk/ Skype: callto://daveboulden
Tel: 01795 559456 Fax: 07092 011488
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of [EMAIL REMOVED]
> Sent: 05 August 2005 15:32
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: FTP Help 2 remote locations from one local Dir
>
>
> you're my wife now Dave ;)
>
> no but seriously
>
> I have run this command amd all seem to be well only the
> local path disn't pick up the sub DIR so all that was copied
> was everything in the root
>
> x:/sales/images
>
>
> but only the files in the root get copied over
>
> andrew
>
>
> > On Fri, 5 Aug 2005, [EMAIL REMOVED] wrote:
> >
> >> little bit sceptical about the lack of code on this?
> >>
> >> How is this working exactly Dave?
> >
> >
> > run ftp and type the commands ... Q.E.D.
> >
> >
> > --
> > Graeme -
> > Outlook Express user? -
> > http://home.in.tum.de/~jain/software/oe-quotefix/
> > http://wiki.workalone.co.uk/index.php?page=RulesForPosting
> >
> > --
> > Freelancers, contractors earn more with Prosperity4 Call
> 0870 870 4414
> > or visit www.prosperity4.com and benefit from Inland
> Revenue approved
> > expenses today.
> >
> > To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> --
> Freelancers, contractors earn more with Prosperity4 Call 0870
> 870 4414 or visit www.prosperity4.com and benefit from Inland
> Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|