× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

A tar file is an archive file. It's like a SAVF. Or a ZIP file. That sort of thing. You can't *run* a tar file.

You need to unpack/install the contents of the TAR file. i.e. restore the contents of the archive. Then, you can run the stuff that was inside it.


hockchai Lim wrote:
I'm having some problem executing a shell script that uses Expect script to do sftp by user ID and password and hope that someone here can help me with it. When I execute the script I get the following error:
/home/palhc/sftp819.sh: /home/palhc/expectScript/expect.5.43.tar: 0403-006 Execute permission denied.


Here is what I did:
1) Installed the OpenSSH.
2) Download Expect tool from http://www.scottklement.com/expect/ and uncompress.
3) Create a script that looks like this: http://code.midrange.com/d585dbe59e.html
4) My CL to execute the script looks like this: http://code.midrange.com/78ef308dcc.html

thanks





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.