on 10-16-2007 11:56 AM
HI All,
i am trying to use Command line facility of file adapter to run a batch file..
i batch file i have a single command as
mkdir ranjeet.
how should i call this batch file from file adapter..
i tried putting batch file name in the command line section. I had copied the batch file on ftp server at location of Target Directory..but in audit log of adapter i am getting error as OS command cannot be executed..
Hi, Ranjeet.
Command line serve to execute a batch file in XI server, not in FTP server.
If you want to create a directory in FTP server, you must create two batch file:
One in XI server, calling with remote shell the second batch (in FTP server)
One in FTP server, creating the directory
Regards,
Carme
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ranjeet,
>>ok..but what will command to be run of ftp run..
How do you expect any one of us to know what your ftp server is based on.
The previous reply by Carme has answered your XI query and to the point. You acknowledge it with a <b>ok</b>!! I guess it is too rude on your part.
Anway answering your question, that depends on your FTP server. Log in to your FTP server manally and try executing these commands and check.
Regards,
Jai Shankar
how did you call the script? what command ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranjeet
please follow this blog it will solve your problem.
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
Thanks
sudhir sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.