Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

hyhongyong

Posts

5

Joined

Mon Jul 13, 2009 5:17 pm

directoryNameList exception in multi-threads

by hyhongyong » Mon Jul 13, 2009 6:24 pm

three threads ,the same remote directory,sometimes:

com.enterprisedt.net.ftp.FTPException: 550 HW20090709.LF.gz.binew: No such file or directory.
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1127)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3379)
at com.enterprisedt.net.ftp.FileTransferClient.directoryNameList(FileTransferClient.java:543)
at com.enterprisedt.net.ftp.FileTransferClient.directoryNameList(FileTransferClient.java:527)

why?

public synchronized String[] directoryNameList()
throws FTPException, IOException {
return directoryNameList("", false);
}
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: directoryNameList exception in multi-threads

by support2 » Mon Jul 13, 2009 7:28 pm

Again, please post a log file.

Who is online

Users browsing this forum: No registered users and 18 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign