Search code examples
asp.netiisftpaspnet-compiler

Copy web-site on remote machine


I am trying to create command line command to do this. I already deploy website using aspnet_compiler to local drive.

Now I am trying to copy these files to remote machine IIS:

is it possible to use aspnet_compiler to directly deploy on remote IIS something like this

aspnet_compiler -v /Website1 -p c:\Projects\WebSite -f test.lala.com:"c:\Inetpub\wwwroot\Website1"

I know this command is wrong but I was wondering if someone knows how to do this using aspnet_compiler or just to tell me how to copy all of those files to remote machines c:\Inetpub\wwwroot\Website1


Solution

  • If you have local network access, why not just map the remote "c:\Inetpub\wwwroot\Website1" folder locally, and deploy to this share?