Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.1k views
in Java FTP by (400 points)
I have never seen the exception when downloading some file.

com.enterprisedt.net.ftp.FTPException: OOPS: vsf_sysutil_bind
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1068)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:730)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:505)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2217)
at com.enterprisedt.net.ftp.FTPClient.initGet(FTPClient.java:2579)
at com.enterprisedt.net.ftp.FTPClient.getData(FTPClient.java:2639)
at com.enterprisedt.net.ftp.FTPClient.get(FTPClient.java:2487)

The code as follows:

FTPClient ftp=new FTPClient();
ftp.setRemoteHost(IP);
ftp.setRemotePort(intPort);
ftp.connect();
ftp.login(user, pwd);
ftp.setType(FTPTransferType.BINARY);
ftp.get(sourcefile, destfile);
....

why? I find the sourcefile existed in the source machine and can be downloaded using ftp command.

1 Answer

0 votes
by (162k points)
Looks like a server problem.

See http://www.vsftpdrocks.org/faq/

"Q) Help! I'm getting messages along the lines of 500 OOPS: vsf_sysutil_bind
when trying to do downloads (particularly lots of small files).
A) vsftpd-1.2.1 should sort this out."

Categories

...