10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to send below output in a tabular column ( xml or excel ) and send a mail.
request to suggest a solution. (1 Reply)
Discussion started by: Girish19
2. Shell Programming and Scripting
This is appending a column.
My question is fairly simple. I have a program generating data in a form like so:
For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Discussion started by: theawknewbie
3. Shell Programming and Scripting
Could you guys help me out of this problem... I need to send an email to all the users and the email has to be picked from the text file.
text file contains the no. of records like:
email@example.com... (6 Replies)
Discussion started by: giridhar276
4. UNIX for Dummies Questions & Answers
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
5. UNIX for Dummies Questions & Answers
I have already read a lot of posts on sending attachments in unix...but none of them were of help for my problem...so here goes..
i wanna attach a text file and send to a mail id..used the following code :
uuencode "$File1" "$File1" ;|mail -s "$Mail_sub" firstname.lastname@example.org
it works... (2 Replies)
Discussion started by: ash22
6. UNIX for Dummies Questions & Answers
I've written a script to FTP files into a directory, perform a diff between the current and the previous and email out the results. Sometimes a machine falls off the network and needs to be rebooted to reconnect. Obviously I don't get the file I want at that time. How do I get the FTP error to be... (1 Reply)
Discussion started by: scanner248
7. Shell Programming and Scripting
Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
Discussion started by: MeganP
8. Shell Programming and Scripting
I'm new working in UNIX, So, I want to know How I can send a file from UNIX to Windows server with FTP. This is my script.
ftp -i -n -v <<**
user user1 password1
lcd C01_07_06 /* source/
cd //220.127.116.11/group1/reports /*destination*/
put file1.sh ... (1 Reply)
Discussion started by: edzela
9. Shell Programming and Scripting
I'm using IBM AIX 5.2 to send file with ftp to other unix machine.
The command is into a shell:
ftp -n > outFtp 2> errFtp <<PARAM
user $3 $4
put $1 $remote
then i look at the size of errFtp and outFtp to see if there are some error message.... (4 Replies)
Discussion started by: gggarb
10. UNIX for Dummies Questions & Answers
Is there any chance that this single line command execute properly on aix? I have 0 knowledge on that platform!!
echo "User_FTP \nFTP_PASSWORD \nbin \ncd cad \nput /opt/lotus/office/general/Agent.csv \nquit" | ftp abc0.cie.com
If not, any other suggestion? A single line command... (4 Replies)
Discussion started by: jr_provost
FTP_GET_OPTION(3) 1 FTP_GET_OPTION(3)
ftp_get_option - Retrieves various runtime behaviours of the current FTP stream
mixed ftp_get_option (resource $ftp_stream, int $option)
This function returns the value for the requested $option from the specified FTP connection.
- The link identifier of the FTP connection.
- Currently, the following options are supported:
Supported runtime FTP options
| | |
|FTP_TIMEOUT_SEC | |
| | |
| | Returns the current timeout used for network |
| | related operations. |
| | |
| | |
| FTP_AUTOSEEK | |
| | |
| | Returns TRUE if this option is on, FALSE other- |
| | wise. |
| | |
Returns the value on success or FALSE if the given $option is not supported. In the latter case, a warning message is also thrown.
// Get the timeout of the given FTP stream
$timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
PHP Documentation Group FTP_GET_OPTION(3)