2008 Dec 05 9:27 AM
Hi expert,
I wanna know if it's possible delete with abap command a file from a FTP folder.
I mean, there is a ftp folder periodically filled with excel files. An ABAP program read this folder and the files content must be moved in a SAP Table. Aftre this, I must delete excel files with an abap command write in the same abap program.
Thanks a lot
Michele Garofalo
Hi expert,
I wanna know if it's possible delete with abap command a file from a FTP folder.
I mean, there is a ftp folder periodically filled with excel files. An ABAP program read this folder and the files content must be moved in a SAP Table. Aftre this, I must delete excel files with an abap command write in the same abap program.
Thanks a lot
Michele Garofalo
2008 Dec 05 9:45 AM
1) read directory with fm EPS_GET_DIRECTORY_LISTING
2) process table dir_list
and 3) finally delete files with
abap command: DELETE DATASET dsn.
hope that helps
Andreas
2008 Dec 05 9:53 AM
Hello,
Have a look at sample program RSFTP003 for deleting from ftp syntax
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |