can anybody suggest what the problem is :
we are executing this code in several places - this starts a command on another server, and normally returns fine (does not wait for the command to complete) and no errors
I am having trouble getting a return from a specific function -
should I have other codes in here also - ??
The function appears to hang and yet the thread ends without putting out any further log entries and there should be processing past this point regardless of the ftp result !!!
running the quote command from a bat file is fine !!
any ideas accepted gratefully -
try {
String[] validReturnCodes={"213"} ;
theclient.quote(strng, validReturnCodes) ;
} catch(FTPException XXX) {
logstr="@@ Error in quote cmd = " + XXX.getMessage()
System.err.println(PN + logstr) ; }
catch(Exception YYY) {
logstr="@@ Error in quote cmd = " + YYY.getMessage() ;
System.err.println(PN + logstr) ; }
thanks - Veronica