Re: FrontPage API



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.


.



Relevant Pages

  • Re: Hit Counters
    ... You must open the site using File Menu | Open Site, then open _private, select the file, then right ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > pagename.htm.cnt but I can't open the page on the server. ... > web-site side but I don't have the option to open in NotePad. ...
    (microsoft.public.frontpage.client)
  • Re: using -- webbot self -- to save form data in a text file
    ... You will need to open the site live, then _private and then the file to view ... When you create the form you must have a web open in FrontPage, ... Or create the form in an open web on a server. ... I am trying to save form data in a text file using webbot self ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • FrontPage API
    ... Does anyone know where to look to code for connecting to FrontPage ... Looking for information about the API to connect to a server ... and upload and download from such server. ...
    (microsoft.public.frontpage.programming)
  • Re: Server Extensions Administrator
    ... To avoid the error in FrontPage, you must open the web in FrontPage, ... http://machine:8080 as the web address then the extensions are ... Try running server health, and see if that makes a difference. ... At this point I am at the limit of my knowledge of installing ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Server Extensions Administrator
    ... This is still a disc based web even if it is used by the web server as ... You can build webs in FrontPage using either system, ... this web to a web server that has the FrontPage Server Extensions ... administration programs and the server extensions on the web ...
    (microsoft.public.frontpage.extensions.windowsnt)