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 > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to read the data from an excel sheet and use those data as variable in the unix c Anne Grace UNIX for Advanced & Expert Users 1 03-03-2008 07:21 AM
OpenStreetMap project completes import of United States TIGER data iBot UNIX and Linux RSS News 0 01-23-2008 07:20 PM
Exporting files from unix to Excel sheet bishweshwar UNIX for Advanced & Expert Users 3 03-21-2007 04:41 AM
import data files from Unix to Windows? whatisthis Windows & DOS: Issues & Discussions 8 06-29-2006 02:37 AM
Import data from compressed file ap_gore79 Shell Programming and Scripting 4 06-18-2004 01:39 AM

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

Join Date: Jun 2007
Posts: 50
How can import data files to XL sheet.

Hi,
I have the file(F1.XL) in Unix Box. it's updating every 1hr.
I would like to import f1.xl to Windows excel sheet, when i need see the reports.

can any one clarify, is there any VB script for importing data from UNIX, like sql connection....
thanks

Last edited by koti_rama; 01-29-2008 at 03:29 AM..
  #2 (permalink)  
Old 01-29-2008
pt14 pt14 is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 28
If you have ftp enabled, then try the below in VB or VBA


Sub ftp(source_path As String, source_file As String, ip As String)
Open "c:\ftp_input.txt" For Output As #1
Print #1, "open " & ip
Print #1, "Enter ftp userid here"
Print #1, "Enter ftp password here"
Print #1, "lcd " & "c:\paf_local"
Print #1, "prompt"
Print #1, "cd " & source_path
Print #1, "get " & source_file
Print #1, "bye"
Close #1
End Sub


Sub Button1_Click()
Call ftp(filepath,filename,server-ip)
pid=shell("ftp -is:c:ftp_input.txt")
End Sub
Closed Thread

Bookmarks

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 10:33 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