10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2. Shell Programming and Scripting
I am using following code in my shell script to send the file to a mainframe server.
ftp -in $FTP_IP_SEND <<END_OF_FTP >$LOG_DIR/ProviderExportFTP.log
quote user $FTP_USER_SEND
quote pass $FTP_PASS_SEND
send ./ProviderExport.txt 'PROJ.PDRCACTS.FD87050.EXPORT' (REPLACE... (3 Replies)
Discussion started by: Renjith180282
3. Shell Programming and Scripting
i want to write a shell script function that will ftp the files passed in the command line . i have written a shell script for ftp but how will it do for all files passed in command line argument ,
i am passing 4 files as argument
./ftp.sh file1 file2 file3 file4
code written by me... (5 Replies)
Discussion started by: rateeshkumar
4. Shell Programming and Scripting
I am running the following on linux (on a mac):
ftp -un $hostname <<EOF
quote USER $username
quote PASS $password
I... (4 Replies)
Discussion started by: globalnerds
5. Shell Programming and Scripting
... (15 Replies)
Discussion started by: vsmeruga
6. UNIX for Dummies Questions & Answers
I am new in UNIX field. I don't know if I am posting in right forum or not. And I have also found out that there are so many posts about ftp shell scripting. I have tried those but actually having some problem.
Well, my script should do the following..... It finds files( the filename ended... (3 Replies)
Discussion started by: abhishek_510
7. Shell Programming and Scripting
I have developed below script for FTP a file from unix machine to another machine.
echo "open xx.yy.zbx.aaa
user $USER $PASSWD
echo "put $1 abc.txt" >> /home/tmp/ftp.$$
echo "quit" >> /home/tmp/ftp.$$
ftp -ivn <... (3 Replies)
Discussion started by: RSC1985
8. Shell Programming and Scripting
What i would like to do is to use a shell script connect to a remote computer and download files from a specific directory. I wrote the following script.
ftp $HOST <<END_SCRIPT
user $USER... (3 Replies)
Discussion started by: chriss_58
9. Shell Programming and Scripting
Can I ftp to put file with shell script(as bath file) ?
Plz give the simple code to do that.
My script look like that
echo "Start ftp"
ftp temphost <<EOF
This code ignore username & password but I need to input.
How to input username &... (8 Replies)
Discussion started by: aungomarin
10. UNIX for Dummies Questions & Answers
I am wrting a shell script to ftp a file from remote server but its giving some problem to me.can you help me in debugging this.
ftp -n $HOST >>END_SCRIPT
get... (3 Replies)
Discussion started by: namishtiwari