Re: FrontPage API
- From: "Jim Carlock" <anonymous@localhost>
- Date: Sun, 17 Apr 2005 19:31:04 -0400
Hi Steve. Thanks for the response.
I was looking more for the API. I've got the following code working
and I notice it needs to connect to two files:
1) FrontPg.exe
2) fpeditax.dll
They're both ActiveX components, both have a GUID.
The exported objects...
1) FrontPage // I'm using this one
2) Application
3) WebEx // I'm using this one
provide a means to connect. So what I really want to do is avoid
using those files and connect via an FTP mechanism. I think it connects
and communicates in a similar manner to FTP, but perhaps with it's own
set of network instructions. I haven't actually looked at the packets that
are sent across the network yet.
Option Explicit
Private WithEvents fpw As FrontPage.WebEx
Private msURL As String
Private msUID As String
Private msPW As String
Private Sub cmdConnect_Click()
Set fpw = FrontPage.Application.Webs.Open(msURL, msUID, msPW, fpOpenNoWindow)
'Call MsgBox(TypeName(VarType(fpw.AllFiles.Count)))
miFiles = fpw.AllFiles.Count
miFolders = fpw.AllFolders.Count
txtFiles.Text = CStr(miFiles)
txtFolders.Text = CStr(miFolders)
End Sub
Private Sub Form_Load()
msURL = "http://www.duhdumwebsite .com"
msUID = "MyUID"
msPW = "MyPassword" '<g> I hope that server nay uses these
End Sub
That was done outside of FrontPage in a VB6 application connected to
FrontPg.exe. I was originally wanting to know if there are some API calls
to do what I'm doing... and then I zoomed in on the type library and found
I can create a type library file that'll work. I probably can get the API
declarations done, but now I don't want the API anymore. I'm wanting to
know the set of commands send by the FrontPage client when connecting
to the server and use winsock or some wininet API to do this.
Now, maybe capturing the packets and looking at the sets of instructions
being passed between FrontPage and the server? Is it much like FTP
commands? Hmmm, maybe telnet to it?
--
Jim Carlock
Please post replies to newsgroup.
"Steve Easton" <admin@xxxxxxxxxxxxx> wrote:
Jim,
Need a little more info on exactly what you need to do.
There are no "FrontPage" servers per se. There are windows servers, apache
servers etc that are configured with FrontPage extensions.
As for publishing to / from an extended server, simply open FrontPage, then
open the desired web, click File > Publish Web.. and select the location /
destination you want to publish to.
Note: in FrontPage 2003 the web you open is always the "Local web"
regardless of where it lives, the destination is always the "Remote web."
If you open the web on your drive, it is local and the server is remote.
If you open the web on the server, it is local and your drive is remote.
hth
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
"Jim Carlock" wrote:
> Does anyone know where to look to code for connecting to FrontPage
> servers? Looking for information about the API to connect to a server
> and upload and download from such server.
>
> --
> Jim Carlock
> Please post replies to newsgroup.
.
- Follow-Ups:
- Re: FrontPage API
- From: Steve Easton
- Re: FrontPage API
- References:
- FrontPage API
- From: Jim Carlock
- Re: FrontPage API
- From: Steve Easton
- FrontPage API
- Prev by Date: Frontpage Help > can't find image
- Next by Date: Re: Let client update a website message
- Previous by thread: Re: FrontPage API
- Next by thread: Re: FrontPage API
- Index(es):
Relevant Pages
|