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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tar to remote machine hshapiro UNIX for Dummies Questions & Answers 2 01-23-2009 07:04 PM
Cut command on a remote machine using rsh eamani_sun Shell Programming and Scripting 1 06-04-2008 09:33 PM
executng program on remote machine using ssh sewood Shell Programming and Scripting 1 02-17-2008 07:03 PM
how to execute a script on remote machine balireddy_77 Shell Programming and Scripting 4 09-27-2006 07:45 PM
Searching for files in Remote Machine matrixmadhan UNIX for Dummies Questions & Answers 0 06-21-2005 05:02 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 08-20-2007
OSD OSD is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 24
Help regarding theMailing of output from a remote machine

Hi all,

I have a script which logs in to the remote server with FTP and with the user id/password and list the files in the path of remote server where thefiles resid.i need to email this output(i.e wether the files are present on not under the path) to my email id. Can u please let me know as to how i go about this..

Thanks in advance for your help.

#!/bin/ksh
ftp -in Remote Server << end-of-input
user Userid password

cd <path in Remote directory where files reside>
verbose
dir
bye
end-of-input
  #2 (permalink)  
Old 08-21-2007
OSD OSD is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 24
Can anyone plz help me with this.
appreciate that..
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 12:48 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