![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get positive number n as argument script must calculate the factorial of its argument | I-1 | Shell Programming and Scripting | 3 | 04-28-2009 10:24 AM |
| Getting Sum, Count and Distinct Count of a file | singhabhijit | Shell Programming and Scripting | 4 | 03-02-2009 12:30 AM |
| Sorting using count, grep and count | sukhpal_78 | UNIX for Dummies Questions & Answers | 2 | 06-27-2008 01:13 AM |
| How to find the last argument in a argument line? | nehagupta2008 | UNIX for Dummies Questions & Answers | 4 | 06-20-2008 12:05 PM |
| How to count the record count in an EBCDIC file. | oracle8 | UNIX for Dummies Questions & Answers | 1 | 07-26-2006 08:22 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
bad argument count, tryig to FTP
I have a file in a Unix directory called 97210900.EFT
I am getting this error: miis_ftp.ELM_EFT.shl[81]: cd: bad argument count + [ ! -r 07210900.EFT ] + type=1 + ErrorHandle Here is the piece of code that is checking the file [code] # Change the directory to one contains the file to be transported ##cd $LocalDir; cd $CDRemoteDir; # Do an -r command on the desired file ensure that the file exist and readable if [ ! -r $UpLoadFileName ] then type="1"; ErrorHandle; fi # Do an -s command on the desired file ensure that the file exist # and is not null if [ ! -s $UpLoadFileName ] then type="2"; ErrorHandle; fi [code] / Last edited by rechever; 07-21-2009 at 11:58 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|