Connecting to other server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • programmerboy
    New Member
    • Jul 2007
    • 84

    Connecting to other server

    Hi,
    I am trying to create an application which can connect to a different server and gets its information, for example Folder size, number of files etc. But the thing is I dont know how to connect to a different server. Usually if I connect to other server from my machine then I enter user name and password. How can I code my application so that it can automatically connects to the other server without prompting for the password. Any code snipped in VB will be great.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    How do you plan to connect to this other server?
    What protocals are you using, or will you be creating the communication from scratch?

    Comment

    • programmerboy
      New Member
      • Jul 2007
      • 84

      #3
      Originally posted by Plater
      How do you plan to connect to this other server?
      What protocals are you using, or will you be creating the communication from scratch?
      Well I have never done this kind of thing before, that is why I wont be able to answer it. What I simply want is to get the data like files, folders from other server and be able to rename, create, delete files. I am not sure if that answer your question.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        So turn on the network shares on that computer. Give yourself accesss to read/write/delete.
        Then you can use it just like they were files on your local PC.

        Comment

        • programmerboy
          New Member
          • Jul 2007
          • 84

          #5
          Originally posted by Plater
          So turn on the network shares on that computer. Give yourself accesss to read/write/delete.
          Then you can use it just like they were files on your local PC.
          Sounds like a good idea. Just couple of questions.
          • When my program is running will it use my ID or some other machine ID to run and connect to shares?
          • Secondly can I use some other ID to run that prog. Like the ID of the administrator of that server.

          Comment

          Working...