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
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