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
awk: How do i check to see if a variable is a number? natdeamer Shell Programming and Scripting 1 09-06-2007 07:31 AM
Automated FTP from Unix to Active Directory Server Cbish68 Shell Programming and Scripting 1 08-09-2007 12:38 PM
how to check for a directory kotasateesh UNIX for Dummies Questions & Answers 3 02-14-2006 09:14 PM
Check if variable is a number handak9 UNIX for Dummies Questions & Answers 2 03-01-2005 08:27 AM
Status check of Automated FTP anijog Shell Programming and Scripting 5 03-04-2004 02:30 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-07-2006
songtam songtam is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 3
Unhappy Automated FTP to variable directory with error check

Hi,

automated FTP that have error check and each product FTP will used the same userid/password to post(transfer) the file(s) from their <product> directory at UNIX to their <product> folder at Windows.

such senarios as follows:

NOTE:
=======
** Variable **
* The <product> is variable e.g ELA, KLA, GLC, VIN
* <filename> is composed with <Product>_<yyyymmdd>
* both the UNIX and Windows are using the same path name based on the <product>

** Fixed **
* The remote server to be transfer which ip address,
* The UserID and the Password, and
* The UNIX Directory for the failure-to-transfer

1. FTP the varible <filename> (e.g ELA_20060407.dat)
from the UNIX server with designated path (eg. ELA)
to a given Window server (ip address e.g 196.166.100.100)
using the userid/password (e.g producer/pass1234)
and transfer to Windows with the designated path (e.g ELA)

2. ALSO in the event of failure to transfer due to any reason, there should be transfer the local predefined UNIX directory (e.g FTPError) for traced or reference.

* Can I do it in pure C or UNIX Script?
UNIX is Sun OS, Windows is Windows 2000.

I am lost. Please kindly advise. Greatly Appreciated.
 

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 06:22 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