trend Posted May 6, 2006 Posted May 6, 2006 Hello, I need to upload my asp.net project via sftp to my webserver.. I know if you publish it via frontpage extensions or \\servername\ you have the ability to just publish the data that is needed to be published.. aka not all the dev files as well.. How can I do this but over sftp? thanks! Quote
Administrators PlausiblyDamp Posted May 27, 2006 Administrators Posted May 27, 2006 If you are deploying by CD you can build a setup project from within Visual Studio - this will deploy all the required files, create the virtual directory etc. If you are using some other method it is just a matter of not including the .cs / .vb, .sln, .suo, .csproj, .vbproj files. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Leaders snarfblam Posted May 27, 2006 Leaders Posted May 27, 2006 I'm not sure if it is any different for web dev, but if you set everything up right, all you need should be in the appropriate bin folder. Files that should be included should be added to a project with the build action set as "Content." This will cause them to be copied to the output directory. Anything else you need should be embedded as a resource or code. But, again, I'm not sure if it is different for web development. I'd imagine that there could be a lot more files and details involved. Quote [sIGPIC]e[/sIGPIC]
Arch4ngel Posted May 29, 2006 Posted May 29, 2006 I normally use a command line ftp that do the trick for me. It's exactly what PlausiblyDamp said. Copy all .aspx, .asax, folders, css, etc... at the right place and you're ready. I don't know any trick to do that from VS2003. Unless they built an addon that do the FTP transfer for you. Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.