03-16-2007 2:07 PM
Hi all
I have one application in which if succeful uploading of BMP file from application server is not done , File has to move to another folder like 'ERROR' Folder
but i am unable to do that.
here is the code:
CONDENSE g_t_ws_move.
CALL 'SYSTEM' ID 'COMMAND' FIELD g_t_ws_move
ID 'TAB' FIELD g_t_ws_command_line[].
where
<b>G_T_WS_MOVE= 'MOVE /Y /sapin/XVZ/journeyplan/0000000.BMP /tmp/0000000.BMP'
means i have to move 000000.bmp file from XVZ to tmp directory ,</b>
03-16-2007 2:09 PM
03-16-2007 4:28 PM
Hello Neetu
Alternatively you could use a combination of the following function modules:
- EPS_FTP_PUT
- EPS_DELETE_FILE
Regards
Uwe
03-16-2007 4:39 PM
In case you use UNIX as application server, use 'mv" in small case letters not even MV is correct, also ensure the paths are having correct casing as UNIX file and path names are case sensitive
MOVE will work on Windows app. server