2010 Feb 09 9:23 AM
Hi,
we have the requirement to upload a file on a daily basis from a ftp server. There are always the last 3 files in the directory. My first problem is to find out which file is the latest. The names are like PRICE_01FEB2010.ZIP and PRICE_02FEB2010.ZIP so it's difficult to check it automatically by name. I know for example function ADS2KIPUPL_GET_FILE_ATTRIBUTES to get Application Server File Attributes. So is there similar to this function a FTP command existing which will find out the latest Price file?
My second problem is how to unzip the file (it's a zipped csv-file).
Every little hint is welcome
Best Regards
Lucy
Hi,
we have the requirement to upload a file on a daily basis from a ftp server. There are always the last 3 files in the directory. My first problem is to find out which file is the latest. The names are like PRICE_01FEB2010.ZIP and PRICE_02FEB2010.ZIP so it's difficult to check it automatically by name. I know for example function ADS2KIPUPL_GET_FILE_ATTRIBUTES to get Application Server File Attributes. So is there similar to this function a FTP command existing which will find out the latest Price file?
My second problem is how to unzip the file (it's a zipped csv-file).
Every little hint is welcome
Best Regards
Lucy
2010 Feb 11 11:53 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |