PDA

Click to See Complete Forum and Search --> : How to connec to Linux with VB?


yidiyuehan
Jun 30th, 2009, 05:43 AM
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.

Hack
Jun 30th, 2009, 06:47 AM
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

visualAd
Jul 6th, 2009, 07:16 AM
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.

wossname
Jul 11th, 2009, 03:34 PM
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.