2007 Mar 22 5:17 PM
hi,
I need to write a file to a directory in the application server, but i have a problem because i have a application that cyclical executes a script ftp that cuts all .DAT files to another directory in another system and Im afraid that during my write process the scripts catches my file and ruin my write process .
How can I resolve this issue.
Is there any atomic rename process that I can use to write the file with a txt extension and then rename to .DAT file?
thanks and regards.
Luis Constantino.
2007 Mar 22 5:30 PM
2007 Mar 22 5:30 PM
2007 Mar 22 5:32 PM
Hi,
Perhaps you can use the following combination of function modules:
- EPS_FTP_PUT (copy file) -> leave IMPORTING parameter RFC_DESTINATION empty
- EPS_DELETE_FILE (delete file)
Regards,
Ferry Lianto