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

Re: publish output files via FTP 'economically'



[Tue, Nov 20, 2001 at 08:17:37AM -0000] - Sebastian Brosig scrive:
> wml leaves its output files intermingled with input files, but in one's
> DocumentRoot one wants just the data that is needed to render the pages, not
> .wml and include files. Has anyone out there a convenient solution to keep a
> remote Webserver in sync with the locally developed html code, the only
> administrative access to the server being  ftp? 
Maybe something like this is what you are looking for?

a) put all generated html files elsewhere in your home
   cat .wmkrc
   -o ../some_directory/out_of_your_wml/working_dir/%BASE.html
(%BASE is the filename of the source file without any extension)

b) cd ../some_directory/out_of_your_wml/working_dir/
   lftp your.server
   lftp :~>mirror -R -n
   man lftp for more

Ciao, Alvise
--
| Alvise Belotti                     |   /"\  .  ASCII Ribbon Campaign .
| E-mail:   alvise@laventa.it        |   \ /  .- NO HTML/RTF in e-mail .
| La Venta: http://www.laventa.it    |    X   .- NO Word docs in e-mail.
| E-mail:   info@laventa.it          |   / \  .. . . . . . . . . . . . .
| PGP Key fingerprint = AD 85 93 92 A9 9C 93 14  9C 6B 3B 15 52 79 B8 BD
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com