Results 1 to 4 of 4

Thread: How to connec to Linux with VB?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2009
    Posts
    1

    How to connec to Linux with VB?

    I need to do a very simple project using VB to design a simple interface with a few buttons in Windows.

    Once each button is pressed, I need to connect to one Linux Server (with Static Local IP) and copy one file under Linux one directory to another directory. I don't need to copy from XP to Linux. Just copy files under Linux.


    Anybody has any advice?

    thanks very much in advance.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to connec to Linux with VB?

    I think the Linux folks are in a better position to answer this question than the VB folks.

    Moved to Linux Development

    I did find this thread which is similiar to your question.

    http://www.vbforums.com/showthread.php?t=475246

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: How to connec to Linux with VB?

    I suggest that you use putty (a windows SSH client). There is a command line version of the program (plink) that enables you to supply a server side script to run when connected.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: How to connec to Linux with VB?

    The OP is so vague as to be unworthy of proper, considered replies.

    This sounds like an assignment of some sort, if so then all the necessary information (or details of where to obtain it) will be available to you in your course material.

    If it is not an assignment, then why bother writing an app to do this. There's plenty of existing tools for exactly this purpose. Putty is a SSH client and as such is not specifically designed for file retrieval. WinSCP on the other hand is the ideal tool for this task.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width