| Post a Reply |
| Weblog: |
|
Adapter Module to stop processing of duplicate file (FTP Location) |
| Subject: | Excellent Blog! | |
| Date: | 2008-05-13 01:03:06 | |
| From: | Sumesh kBusiness Card | |
|
|
||
| Could you please also provide how similar scenario can be handled for NFS protocol. | ||
|
|
Next Message |
| Showing messages 1 through 1 of 1. | ||
|
|
||
| Titles Only | Main Topics | Oldest First |
u can implement the same just by using file methods in ur module code.
String FileLocation = moduleContext.getContextData("FileLocation"); //pass the complete path for the file.
and then call
DeleteFile(FileLocation);
and implementation of method will be as:
public void DeleteFile(String FileLocation)throws Exception { try
{
File f1 = new File(filename);
f1.delete();
}
catch (Exception e){}
}
| Showing messages 1 through 1 of 1. |
SAP, mySAP, mySAP.com, xApps, xApp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product, service names, trademarks and registered trademarks mentioned are the trademarks of their respective owners.