Solved

How do I FTP files to my webserver from Subversion.

Posted on 2010-11-22
11
454 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrating Old SVN Repository Design to New SVN Repository Design 2 718
wget from SVN repository 3 1,061
command ls -la in git 6 187
bitbucket repo 8 106
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…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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