Solved

How do I FTP files to my webserver from Subversion.

Posted on 2010-11-22
11
450 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
  • 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
 
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now