views:

56

answers:

5

I want to know if there is any addin to synchronize files with a remote server (like a file upload (FTP) for deployment). (in a Website)

Something that can identify the files I change and check them for a later upload.

Is there an addin for that?

+2  A: 

That sounds remarkably like source control to me... and there are lots of source control add-ins for Visual Studio.

Even if you don't really want the full power of source control, it can be a pretty simple way of syncing with another machine... in fact, that's how I end up "deploying" to csharpindepth.com - I check everything into a repository on the server, and a hook updates the web site directory.

Jon Skeet
It's possible but not in my case, I need something to select the files I want to send, just like a FTP, but I was wondering if there is something a little smarter to help me keep track of my changes.
BrunoLM
+1  A: 

What do you mean by synchronize files? Synchronize with what?

If you mean with a repository, then ankhsvn is one such add-in that works with subversion.

If you mean with the deployment location then clickonce is built-in and manages file versioning on the server whenever you click 'publish'.

edit> ClickOnce calculates all necessary dependencies for the project. Additionally, you can click the 'application files' button in the publish tab of project config and select 'show all files'. For each file you can mark them as:

  • include: They'll be deployed with the project
  • Pre-requisites: they must be on the system at the time of installation/deployment
  • Exclude: Don't deploy them

Likewise, the pre-requisites button allows you to ensure that certain application dependencies are present (framework version, sql server is installed, etc.).

SnOrfus
Remote server, "FTP". Yea, deployment...
BrunoLM
@BrunoLM: If that's the case then there are a number of deployment solutions, clickonce being just one of them - but it's already built into VS and it's easy to use. It's what I'd suggest.
SnOrfus
Searching a bit some guide for it, seems I don't have a choice to select files, I can only send all files... am I wrong?
BrunoLM
Can you send me a screenshot where to find those options? I can't find them neither in VS2010 nor VS2008...
BrunoLM
@BrunoLM: Right click your project>Properties>Publish Tab (bottom left)
SnOrfus
Found it! The same doesn't apply to a website or webapplication does it? That's why I was lost. I should've specified on my question. And anyway, that's not much of help because it doesn't include the files just the assemblies... Sorry for that, I voted for your efford. :)
BrunoLM
@BrunoLM, if you mark any of your files/resources as Copy Local, ClickOnce will include them (even for web apps).
SnOrfus
A: 

AnkhSVN http://ankhsvn.open.collab.net/ is an integrated Subversion interface and as with all version control systems you can check in code (and other files as well). I would recommend something of that nature unless you synchronization files are not project related, in which case I recommend pretty much any of the file synchronization utilities that are available out there. I'm partial to Delta Copy http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp for general purpose file copies.

Godeke
A: 

If you are talking about just file syncing and not source control, then Microsoft's Live Mesh is the tool for you. It will sync files across whatever devices you want - quite handy if you need to take work home with you but don't have remote access to your source control (or you do but don't want to be checking in stuff that is still WIP).

Note that it isn't a VS plugin, it operates separately and watches for file system changes.

slugster
+1  A: 

You are probably looking for something like this. Dispatch is pretty good indeed, but it´s not a free alternative.

Augusto Radtke
Wow, that's exactly what I'm looking for! Thank you! But well, I will leave the question open a bit more so if anyone know a similar addin but free I will accept, if not I will accept yours.
BrunoLM