10-14-2008 8:50 PM
Hi all,
please, what is the FM to get app server directory and files??
I have to browse the server, not my local machine.
The program will run background.
Regards.
10-14-2008 10:01 PM
You can use EPS_GET_DIRECTORY_LISTING to get a list of files in a directory, also you can especify a wildcard.
If you have to get a file from the application server and download to a local pc you have tu open the file with open dataset, read each record and append them in an internal table. Later you can download the internal table with gui_download. This procedure can't run in background!!
Carlos
10-14-2008 9:06 PM
10-14-2008 9:15 PM
You need to use Open dataset statement to open the file.
regards,
Advait
10-14-2008 10:01 PM
You can use EPS_GET_DIRECTORY_LISTING to get a list of files in a directory, also you can especify a wildcard.
If you have to get a file from the application server and download to a local pc you have tu open the file with open dataset, read each record and append them in an internal table. Later you can download the internal table with gui_download. This procedure can't run in background!!
Carlos
10-14-2008 10:12 PM
10-20-2008 5:05 PM
Thanks for your question, the spec was changed to connect FTP server... lol