on 06-09-2011 9:26 AM
Dear All,
Scenario :File to File (Pass through)
client want us to overwrite the existing file while Archive the file in FTP Server.
Regards,
Manikandan
You can do this using a ShellScript for archiving.
Can do something like this:
#!/bin/ksh
############################################################################################
############################################################################################
cd $1
ftp -n -v <<%%EOF%%
open $2
user $3 $4
prompt
asci
cd $5
delete $6
mput $6
bye
%%EOF%%
Where, you can pass parameter in SapPI CC as follow:
$1 source directory
$2 ftp destination
$3 $4 user password
$5 destination directory
$6 Filename
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.