![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can any body tell me. | sackNumchai | Linux | 3 | 05-05-2008 09:28 PM |
| can any body give some idea on this.. | sapan123 | UNIX for Advanced & Expert Users | 1 | 10-21-2007 09:10 AM |
| how i prepare a c++ code(c code) for implementing my own protocol format | amitpansuria | High Level Programming | 1 | 09-06-2007 08:09 PM |
| Can any body correct the code | vivekanandarpat | Shell Programming and Scripting | 6 | 09-15-2005 11:16 AM |
| How to get åäö in e-mail message body | de98luto | UNIX for Dummies Questions & Answers | 4 | 07-10-2002 02:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
can any body correct the code
#!/bin/ksh
LOG_DATE=`date +%Y%m` export LOG_DATE cd D:/Informatica/Informatica_share/SrcFiles/l # mv SITE_ACTIVITY${LOG_DATE}*.CSV D:/Informatica/Informatica_share/SrcFiles/SITE_ACTIVITY${LOG_DATE}*.CSV # mv SITE_ACTIVITY20050914114546.CSV D:/Informatica/Informatica_share/SrcFiles/SITE_ACTIVITY20050914114546.CSV mv SITE_ACTIVITY${LOG_DATE}*.CSV D:/Informatica/Informatica_share/SrcFiles/SITE_ACTIVITY${LOG_DATE}*'.CSV' ftp -inv <<EOF open xyz.eng.abc.com user hik klm cd /opt/edocs/AV # mget SITE_ACTIVITY${LOG_DATE}*.CSV mget SITE_ACTIVITY${LOG_DATE}*.* # mget SITE_ACTIVITY20050914114546.CSV bye EOF My question is when I run the script with the file name specified in mget command it is able to FTP the file from unix to NT If I substitute the variable in the file for the mget command it dosent ftp the file I am invoking this script in Informatica Please help me if any thing wrong in the script Thank you ---vivek |
| Forum Sponsor | ||
|
|
|
||||
|
Can any body correct the code .
You are breaking the rules. Edit. Rules (4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly. Last edited by vino; 09-16-2005 at 06:32 AM. |
| Thread Tools | |
| Display Modes | |
|
|