使用 SCP/SFTP 的 Visual Studio 发布网站 [英] Visual Studio Publish Website Using SCP/SFTP

查看:80
本文介绍了使用 SCP/SFTP 的 Visual Studio 发布网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用 SCP 或 SFTP 从 Visual Studio 2008 发布网站?我知道可以发布到我的本地文件系统,然后使用 SCP 执行传输,但我想要更无缝的东西(例如 Visual Studio 的一部分).有这个功能吗?也许是插件?

Is there a way to publish a web site from Visual Studio 2008 using SCP or SFTP? I know it is possible to publish to my local filesystem and then perform the transfer with SCP, but I'd like something more seamless (e.g. part of Visual Studio). Does this feature exist? An addin perhaps?

推荐答案

用于发布页面的内置系统有点受限.

The built in system for publishing pages is a little bit limited.

我觉得对 WinSCP 有用的一件事是,有一个名为保持远程目录最新"的功能.它会做的是为您的本地系统设置一堆文件系统观察者,如果您在本地更改某些内容,它会自动上传它.使用它并将其发布到本地目录使事情变得容易.

One thing that I find useful is with WinSCP, there is a featured called "Keep Remote Directory up to Date". What it will do is set a bunch of file system watchers for your local system and if you change something locally, it will auto upload it. Using that and publishing to a local directory makes things easy.

这篇关于使用 SCP/SFTP 的 Visual Studio 发布网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆