mraja71
18th October 2002, 00:36
I wanted to use run.prog() to call an FTP command.
The FTP command is executed like this
C>FTP -s:test.bat

run.prog(command.str,arg,mode)

If the file test.bat is passes as arg , it returns error code -1

If i do not pass any arg , with comman.str holds the entire line it retuens error code -1.

any hints.....to correct it

~Vamsi
18th October 2002, 00:52
See the below thread to see how you can do your task.

http://www.baanboard.com/baanboard/showthread.php?s=&threadid=7097