Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.4k views
in .NET FTP by
I get this error when i run code on server at client site. On our netowrk the code works fine. How do I set SYST

Unhandled Exception: EnterpriseDT.Net.Ftp.FTPException: Unknown SYST: XXXXXXXXXX
XXXXXXXXXXXXXXXXXX
at EnterpriseDT.Net.Ftp.FTPFileFactory.SetParser(String system)
at EnterpriseDT.Net.Ftp.FTPFileFactory..ctor(String system)
at EnterpriseDT.Net.Ftp.FTPClient.DirDetails(String dirname)
at TeamAskin.ITAssets.Discovery.Class1.Main(String[] args)

1 Answer

0 votes
by (162k points)
The FTP server sends SYST.

You can force the use of a file parser by FTPClient.setFTPFileFactory(), where the parser can be set in the factory constructor.

I get this error when i run code on server at client site. On our netowrk the code works fine. How do I set SYST

Unhandled Exception: EnterpriseDT.Net.Ftp.FTPException: Unknown SYST: XXXXXXXXXX
XXXXXXXXXXXXXXXXXX
at EnterpriseDT.Net.Ftp.FTPFileFactory.SetParser(String system)
at EnterpriseDT.Net.Ftp.FTPFileFactory..ctor(String system)
at EnterpriseDT.Net.Ftp.FTPClient.DirDetails(String dirname)
at TeamAskin.ITAssets.Discovery.Class1.Main(String[] args)

Categories

...