Search Results

Search: Posts Made By: thaller
18,560
Posted By thaller
I'm not even questioning how to send the...
I'm not even questioning how to send the password, log in, etc... My question is about error handling with expect. The other parts of the script are already working.

I'm interested in expects...
18,560
Posted By thaller
I realize this, and do this with some of our...
I realize this, and do this with some of our other scripts, however as I mentioned this sftp site is hosted by a third party and ssh keys are not an option.
18,560
Posted By thaller
Expect Script Error Handling
Good Day Everyone,

I was hoping to get a little insight into an expect script that I've written.

Basically we have this expect script to perform an sftp upload, key authentication is not an...
2,899
Posted By thaller
Wouldn't that cause the lines without the issue...
Wouldn't that cause the lines without the issue to be double spaced?

Could I use something like this:

awk '{if (length($3) > 1)<more code>;}' file.txt

---------- Post updated at 01:53 PM...
2,899
Posted By thaller
Formatting a report using awk
Our vendor produces a report that I would like to format in a particular way.

Here is the sample output from their report:

# AA.INDEX 2 11 2 239 52 ...
20,939
Posted By thaller
The requirement for SFTP comes from this transfer...
The requirement for SFTP comes from this transfer going to a third party. We are forced to use that.

Also since they are a third party the use of shared keys is not available.
20,939
Posted By thaller
Expect Script for SFTP Upload
I am attempting to utilize an expect script (that is called from a parent bash script) to perform a file transfer over sftp.

The script works except I cannot catch timeouts. I need to be able to...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 08:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy