I created my ftplet and can't get it to work with windows command line ftp
or ncftp. The Stream never reads data it just
hangs.  However if i use  filezilla I enter the while loop and do not time
out.  I am stuck and dont know what to do.


//stripped down example
public FtpletEnum onUploadStart(FtpRequest request, FtpResponse response)
     throws FtpException, IOException {
        InputStream is = request.getDataInputStream();

        while (is.read() > 0) { //command line hangs
            System.out.println( "read Data");
        }

        return FtpletEnum.RET_SKIP;
    }

Reply via email to