10-08-2008
Hi,
worked out what I was doing wrong in the first issue - I was leaving a space where I shouldn't have i.e. HOST = 'hostname' and not HOST='hostname' as it should be. Also, I was getting what I thought was an error message saying KERBEROS_V4 authentication error or something - but it has worked now.
Thank you!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to ftp some files from a certain directory, but i got an invalid command. does anybody know why i got this error?
ftp -v -i -n <<SCRIPT
open servername
user
username password
cd /server/logs
for file in MCWAS*
do
put ${file} /home/test/${file}
done
bye
SCRIPT (2 Replies)
Discussion started by: caesarkim
2 Replies
2. UNIX for Dummies Questions & Answers
Does anyone have any examples, similar to the one below that utilize the C shell
#! /usr/bin/csh -f
I'm already using the C shell for some sleep, loop logic and want to incorportant a ftp process when the loop was sucessful. Now I'm kinda stuck, because the 2 seperate pieces that i wanted to... (0 Replies)
Discussion started by: mmarsh
0 Replies
3. Shell Programming and Scripting
Hi,
I have to ftp to a remote machine.
i have got the Ip, username and password and the file path..
I need to get the file name with out user intervention in my script..
is there any way to do this..
please help
esham (2 Replies)
Discussion started by: esham
2 Replies
4. Shell Programming and Scripting
Hi All,
I want to make a ftp call using a separate file where the ftp commands will reside.
Please find below the details:
I have 2 files Sample1.sh and Properties
Properties
---------
<username>
<password>
.... other ftp commands
Sample1.sh
----------
ftp -v <servername> <... (1 Reply)
Discussion started by: pickpeters
1 Replies
5. Shell Programming and Scripting
Can some one help with script to track ftp logins on AIX server.. (1 Reply)
Discussion started by: ddk2oo5
1 Replies
6. Shell Programming and Scripting
hi:
I am trying to move files from server to server with ftp.
I want the command to read a folder and upload all subdirs and files.
what is the command to do this?
is there something cooler than ftp? if so. how to use it?
thanks again. (2 Replies)
Discussion started by: jason7
2 Replies
7. Shell Programming and Scripting
Hi Everybody,
I have come across a problem while doing FTP using shell scripting. So I request any of you can give some idea of how to go about solving the problem but i request you not to give the solution please. Because i'm a java developer newly into Unix shell progrmming and am very enthu... (1 Reply)
Discussion started by: RSC1985
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
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
3 Replies
9. Shell Programming and Scripting
#!/usr/bin/ksh
export filename=/grid/PowerCenter/inbound/AT/filelist.txt
export SOURCE_DIR=/grid/PowerCenter/inbound/AT
export ICOMS_FTP_TGT_DIR1=/dw/input/ATU/ICOM_SERV1
export ICOMS_FTP_TGT_DIR2=/dw/input/AT/ICOM_SERV2
export FILE_MASK="ATRPU_RP_ATU"
echo "start"
ftp_data_file()
{
... (15 Replies)
Discussion started by: vsmeruga
15 Replies
10. Shell Programming and Scripting
I am running the following on linux (on a mac):
filename="/Users/thisfilename.txt"
hostname="ftp.mysite.com"
username="myusername"
password="mypassword"
echo '=======FTP========'
ftp -un $hostname <<EOF
quote USER $username
quote PASS $password
binary
put $filename
quit
EOF
I... (4 Replies)
Discussion started by: globalnerds
4 Replies
LEARN ABOUT OSX
svk::command::smerge
SVK::Command::Smerge(3) User Contributed Perl Documentation SVK::Command::Smerge(3)
NAME
SVK::Command::Smerge - Automatically merge all changes between branches
SYNOPSIS
smerge DEPOTPATH [PATH]
smerge DEPOTPATH1 DEPOTPATH2
smerge [--to|--from] [PATH]
OPTIONS
-I [--incremental] : apply each change individually
-l [--log] : use logs of merged revisions as commit message
-B [--baseless] : use the earliest revision as the merge point
-b [--base] BASE : use BASE as the merge base, which can be PATH:REV
-s [--sync] : synchronize mirrored sources before update
-t [--to] : merge to the specified path
-f [--from] : merge from the specified path
--verbatim : verbatim merge log without indents and header
--no-ticket : do not record this merge point
--track-rename : track changes made to renamed node
--host HOST : use HOST as the hostname shown in merge log
--remoterev : use remote revision numbers in merge log
-m [--message] MESSAGE : specify commit message MESSAGE
-F [--file] FILENAME : read commit message from FILENAME
--template : use the specified message as the template to edit
--encoding ENC : treat -m/-F value as being in charset encoding ENC
-P [--patch] NAME : instead of commit, save this change as a patch
-S [--sign] : sign this change
-C [--check-only] : try operation but make no changes
--direct : commit directly even if the path is mirrored
perl v5.10.0 2008-08-04 SVK::Command::Smerge(3)