Solved

How do I FTP files to my webserver from Subversion.

Posted on 2010-11-22
11
452 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

863 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

23 Experts available now in Live!

Get 1:1 Help Now