upload a file to VSS

Hi,

Is there away to create a new project (folder) and upload new files to VSS database, or upload new files to an existing project. Not checkin a file. But upload a new file.

Thank you



Answer this question

upload a file to VSS

  • Johanvh

    Thank you, I understand what you mean.

    I am sorry, I think I wasn't clear. I am creating a web application that does checkin/checkout using VSS COM objects, Not using VSS software

    I figured how to do checkout/checkin using VSS COM objects in a web application,. and i was wondering if it is possible to use VSS COM objects to upload a new file(s) to vss or create a folder and than upload to vss. without toching the actuall VSS Software.

    Thanks,


  • spot9969

    You have to first add that file manually to source safe and then continue with check in and check out. I'm not in the office right now so I can't remember exactly. But I think that when a new file is added to a project which is in source safe, a + sige is shown with that file's Icon in Solution Explorer which means that file is not yet added to the source safe, You can right click that file and select "Add to Source Control". Then that file is uploaded automatically.

    I'm sorry if i'm wrong but what i remember i explained and I think this is true.

    Best Regards,

    Rizwan aka RizwanSharp



  • Phantom_PF

     

    when using the word check-in, it means that the file(s) are in vss database alrady and in order to checkin the file(s), user needs to checkout the file(s) before. because if you try to checkin the file(s) that are not checkout, it will not work. And I am trying to upload a new file(s) that is not located in vss database.

     

    Thanks,


  • CruzPedro

    What is the difference between upload and checking in

  • R.Pragash

    Found it.. I had to use .Add() functionality in VSSItem... :)


  • upload a file to VSS