The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 12:35 AM
TELNET help seshumohan Windows & DOS: Issues & Discussions 1 03-08-2007 05:13 AM
telnet YoYo Shell Programming and Scripting 2 09-22-2005 03:31 AM
telnet punk000 UNIX for Dummies Questions & Answers 2 07-20-2003 08:44 AM
FTP or Telnet Timbash IP Networking 8 12-16-2001 05:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-30-2008
Niroj Niroj is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore, INDIA
Posts: 55
dbaccss through telnet

Hi,
The following things I want to do..plz help me...

1) Connect to remote machine(UNIX) by using telnet(by giving usr_nm & passwd)
2) Execute a commands (may be sql query) & store the result
3) Do ftp of the stored result into my local machine(WINDOW)

For all this I am using window command prompt.
The main problem here is to execute the command and get back the result into the local machine
  #2 (permalink)  
Old 09-01-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Have you considered using an SSH client instead of telnet? For example, you could download PuTTY and use the plink.exe to run the remote commands, and then pscp.exe to downlaod the output.
  #3 (permalink)  
Old 09-01-2008
Niroj Niroj is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore, INDIA
Posts: 55
Thanx...
No I didn't think using SSH whether I could do or not!.But can you plz show me this with simple example?
Actually I need the result from the unix remote machine and store the result into local window machine.(The data are actually the result we got by a dbaccess informix query run in the remote unix machine) I need this data for further manipulation using JAVA GUIs Application.
  #4 (permalink)  
Old 09-01-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Why not use a proper ODBC connection to the Informix database rather than this convoluted method?
  #5 (permalink)  
Old 09-01-2008
Niroj Niroj is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore, INDIA
Posts: 55
Because for ODBC connection we need INFORMIX driver and this is not free and if it is free then It is for a limited evaluation period.
So I don't want to use ODBC. Instead I can use telnet or SSH..
  #6 (permalink)  
Old 09-01-2008
broli's Avatar
broli broli is offline
Registered User
  
 

Join Date: Dec 2007
Location: Argentina
Posts: 215
if you have ssh, you can use winscp
WinSCP :: Download
  #7 (permalink)  
Old 09-02-2008
Niroj Niroj is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore, INDIA
Posts: 55
Quote:
Originally Posted by broli View Post
if you have ssh, you can use winscp
WinSCP :: Download
Can you please tell what is the software about and how it works?
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0