![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to print the date and time separately??? | jisha | Shell Programming and Scripting | 8 | 01-16-2008 03:23 AM |
| unix sleep and date commands | fanco | UNIX for Dummies Questions & Answers | 1 | 10-04-2007 10:18 AM |
| Lp Print commands | ddameron | UNIX for Dummies Questions & Answers | 1 | 01-28-2004 02:05 PM |
| may be simple but i don't know -- Print current date from C program | ls1429 | High Level Programming | 6 | 02-18-2002 10:50 PM |
| Need to print file names in a certain date range using ls | Shamwari | UNIX for Dummies Questions & Answers | 2 | 10-08-2001 04:14 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi friends
sftpCmd.txt ----------------- !echo "Getting files from sftp" !echo "----------------" cd /home/msgGoogle/PLATFORM/PROD/MIMUS/outbound/ARCHIVE/invsnap !echo "folder created" !date mget ???050108*.txt output !echo "------------------" !echo "Completed : " !echo "--------------" bye here !date command is not working please any one tell me how to get date using ftp commands Thanks in advacne Krish. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
By "not working", do you mean you get an error message, or that it prints the wrong output? These look like you are actually using shell escapes to execute shell commands within your ftp script, but without information about which ftp client you are using, this is guesswork.
|
|
#3
|
|||
|
|||
|
Iam running these ftp commands using txt file
except date command eveything is working fine I dont know to place date command in the script. Do you have idea on this. Please suggest me how to use these commands |
|
#4
|
|||
|
|||
|
By "not working", do you mean you get an error message, or that it prints the wrong output? Or nothing at all?
Without information about which ftp client you are using, this is guesswork. Could you please tell what ftp client you are using? |
|||
| Google The UNIX and Linux Forums |