FTP Script [message #466221] |
Sun, 18 July 2010 03:12  |
masifahmed
Messages: 1 Registered: April 2009
|
Junior Member |
|
|
Hi Experts,
I coping Binary files to NAS....through FTP script.
I want to put some conditions like if the file already exists so shouldn't be over write on it...how I can add this condition in FTP script.
Thanks in advance....!!!
FTP SCRIPT
LOCALDIR=/ora_temp/arch1
REMOTESERVER=192.0.0.120
REMOTEPATH=/Archivelog1
LOGIN=admin
PASSWORD=xyz
FTPLOG='/tmp/ftplog'
date >> $FTPLOG
cd $LOCALDIR
ftp -n -T 90000 $REMOTESERVER <<INPUT_END
quote user $LOGIN
quote pass $PASSWORD
cd $REMOTEPATH
prompt off
mput *.dbf
exit
INPUT_END
|
|
|
Re: FTP Script [message #466222 is a reply to message #466221] |
Sun, 18 July 2010 03:39  |
 |
Michel Cadot
Messages: 68737 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).
Regards
Michel
|
|
|