Automate Posting Files

P

Paul Schrader

Hello all,

I am using Frontpage 2002 and need to be able to create a script I can use
in VB that will run on a daily basis. The script needs to be able to log
onto the web site so it can post multiple files durring the day. I alredy
have a script written to post the files, but need some help in writting a
logon script. I am not able to use the anonoyms options as security folks
will not perimit this.

Doe anyone have any examples on how to open the web page and pass in the
Userid,Password and domain ?

Thnaks
Paul
 
J

Jim Buyens

-----Original Message-----
Hello all,
Howdy.

I am using Frontpage 2002 and need to be able to create
a script I can use in VB that will run on a daily basis.
The script needs to be able to log onto the web site so
it can post multiple files durring the day. I alredy
have a script written to post the files, but need some
help in writting a logon script. I am not able to use
the anonoyms options as security folks will not perimit
this.

Doe anyone have any examples on how to open the web page
and pass in the Userid,Password and domain ?

Thnaks
Paul

This depends on what kind of files you need to upload,
and how the Web site will use them. So, for a definitive
answer, you'll need to describe your application in more
detail.

In a general sense, though, this capability isn't built
into FrontPage. Frequently, a timed FTP command will do
the trick, but you should be careful about where the
FTP'ed files end up. You don't want to clobber the rest
of the Web site by mistake.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
L

Lisa Wollin \(Microsoft\)

Paul,

You can create a VBA app, using the FrontPage VBA object model, that will
allow you to publish an entire Web site. You could add a reference to the
object library from any VB project, open the Web site programmatically, and
use the Publish method to publish the changed pages in the site to the
server.

For more information on working with the FrontPage VBA object model, see the
FrontPage 2002 SDK at
http://msdn.microsoft.com/library/en-us/fpsdk2002/html/GettingStarted_About.asp.

--
Lisa Wollin
Programmer Writer
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included code samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
 
Top