General discussion

Locked

IIS Web folders

By jwalker ·
I want to convert many folders in Frontpage to a web folder. Can I do this with a script, or do I need to do one at a time? the folders are on an IIS web server.

thanks
Jeff

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

IIS Web folders

by Shanghai Sam In reply to IIS Web folders

Assuming that you have access to server either locally or remotely yes. You can use the Fpsrvadm.exe(local) or Fpremadm.exe(remote) from within a batch file.

Local:
-o = operation
-p = port number (80) default
-m = host i.e. www.myhost.com
-w = web (folder name) folder must exist in your current web site.
-u = username you will login with
-pw = password for your login.

fpsrvadm.exe -o create -p nnnn -m HostName -w WebName [-u UserName] [-pw password]

-targetserver = fully qualified domain name of the server to which you are connecting.
-adminusername = a user wich has priviledges to administer frontpage extentions on the target server.
<other switchs see above>

fpremadm.exe -adminusername user password
-targetserver http://HostName/fpadmin/scripts/fpadmdll.dll
-o create -p nnnn -w WebName -m HostName

You must have the server extentions resource kit installed in order to use these commands.

you can download it here:
http://officeupdate.microsoft.com/frontpage/wpp/serk/

simply create a single command line for each of your folders like this:

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder1 -u myuser -pw mypass

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder2 -u myuser -pw mypass

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder3 -u myuser -pw mypass

then run the batch file.

Hope this helps.

Collapse -

IIS Web folders

by jwalker In reply to IIS Web folders

Poster rated this answer

Collapse -

IIS Web folders

by Jim P. Barber In reply to IIS Web folders

Assuming that you have access to server either locally or remotely yes. You can use the Fpsrvadm.exe(local) or Fpremadm.exe(remote) from within a batch file.

Local:
-o = operation
-p = port number (80) default
-m = host i.e. www.myhost.com
-w = web (folder name) folder must exist in your current web site.
-u = username you will login with
-pw = password for your login.

fpsrvadm.exe -o create -p nnnn -m HostName -w WebName [-u UserName] [-pw password]

-targetserver = fully qualified domain name of the server to which you are connecting.
-adminusername = a user wich has priviledges to administer frontpage extentions on the target server.
<other switchs see above>

fpremadm.exe -adminusername user password
-targetserver http://HostName/fpadmin/scripts/fpadmdll.dll
-o create -p nnnn -w WebName -m HostName

You must have the server extentions resource kit installed in order to use these commands.

you can download it here:
http://officeupdate.microsoft.com/frontpage/wpp/serk/

simply create a single command line for each of your folders like this:

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder1 -u myuser -pw mypass

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder2-u myuser -pw mypass

fpsrvadm.exe -o create -p 80 -m www.myhost.com -w folder3 -u myuser -pw mypass

then run the batch file.

Hope this helps.

Collapse -

IIS Web folders

by jwalker In reply to IIS Web folders

Poster rated this answer

Collapse -

IIS Web folders

by jwalker In reply to IIS Web folders

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums