Solved

How do I FTP files to my webserver from Subversion.

Posted on 2010-11-22
11
456 Views
Last Modified: 2013-11-25
Hi, I'm a total subversion noob.  I understand the basics of using Tortoise SVN to maintain code in trunk/tags/branches, etc...  What I don't understand is how to FTP the code in my trunk and or a tagged version (i.e. the official working code) up to my webserver without using a good old fashioned FTP or SSH client.  I'm perfectly willing to use a command-line tool if I have to, I just need someone to teach me or point me to a tutorial on how to do it.
Please help, because my colleagues are all a bunch of !@#$%s.
Thanks in advance.
0
Comment
Question by:xamian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 1

Accepted Solution

by:
muffinmad earned 500 total points
ID: 34195803
It's not a subversion client task. You need different tool for uploading files via ftp.
0
 
LVL 1

Author Comment

by:xamian
ID: 34196592
I suspected as much, that clears up a lot of confusion, but I have a follow up question:  I can SSH to my webserver but I can't SSH into the subversion repository.  What other program or tool would you suggest I use to move files from a subversion repository to a webserver?
0
 
LVL 1

Expert Comment

by:muffinmad
ID: 34196835
Hmm. So you have:
1. Subversion server
2. Working copy on your local machine
3. Webserver
And you change some files, commit them to subversion server and than want to copy files to webserver, right?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 1

Author Comment

by:xamian
ID: 34196970
Exactly, yes.
0
 
LVL 1

Expert Comment

by:muffinmad
ID: 34197063
So, subversion didn't know nothing about your webserver. After commiting changes to subversion you may do with files on your local machine all what you want: copy to cd/dvd/usb drive or upload to webserver. But you need different tool for that.
0
 
LVL 1

Author Comment

by:xamian
ID: 34197145
Right, I understand I need a different tool, I just don't know which tool I should be using.  My colleagues all use the command-line to do this, but I don't know exactly how to get started.  When I look at the info at svnbook.red-bean.com it all seems to be about working with subversion but doesn't describe how to move your files to another webserver.  I'm basically looking for a tutorial on using subversion for web development but I can't find anything decent.
Any suggestions?
0
 
LVL 1

Expert Comment

by:muffinmad
ID: 34197238
I don't know what OS you are using. Try looking for scp for linux or winscp for windows
0
 
LVL 1

Author Comment

by:xamian
ID: 34197384
I'm currently using Winscp as my SSH client, but as I understand it I can't use that tool to move files from the subversion repository to the web server.  Is there anything else I can use?
0
 
LVL 1

Expert Comment

by:muffinmad
ID: 34197486
You don't have to move files from repository. Subversion repository is for version control. Move from working copy instead.
0
 
LVL 1

Author Comment

by:xamian
ID: 34197684
The way I understood it from my colleagues is that I need to check-in my changes (from my working copy) to the trunk, then use the command-line tool to move a copy of the code in the trunk to the webserver.  Their instructions was to always move code to the webserver from the repository, not from my working copy.  
If that were the case then I could simply just SSH my working copy to the webserver.  That would be way too easy for these people, god forbid we should make this process easy.
0
 
LVL 1

Expert Comment

by:muffinmad
ID: 34203019
Ok, i see. It's really interesting how you collegues do that. But after you commit or update files to repository your local files is the same as in repository, so you can upload them.
I don't know what way you and your collegues contributing files, so my advices may be useless.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Governance document for TFS 2012 2 602
Git Line-Endings 2 217
GitHub Desktop Version Control 4 65
Github username 16 100
INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question