56m做图片视频的网站是什么,免费域名注册网,石家庄百度关键词搜索,怎样做营销型网站推广我正在尝试通过FTP使用Apache Commons VFS.在我的FTP上,具有文件和文件夹的下一个结构#xff1a;//test/test/in/test/in/file1.txt/test/in/file2.txt我需要连接并从/ test / in文件夹中读取所有文件(它一直在变化).码#xff1a;FileSystemManager fsManager null;FileSy…我正在尝试通过FTP使用Apache Commons VFS.在我的FTP上,具有文件和文件夹的下一个结构//test/test/in/test/in/file1.txt/test/in/file2.txt我需要连接并从/ test / in文件夹中读取所有文件(它一直在变化).码FileSystemManager fsManager null;FileSystem fs null;FileSystemOptions opts new FileSystemOptions();fsManager VFS.getManager();FileObject path fsManager.resolveFile(ftp://user:passwordmy.ftp.host/test/in/, opts);fs path.getFileSystem();//prints Connection successfully established to /test/inSystem.out.println(Connection successfully established to path.getName().getPath());但是我找不到文件列表,因为它说/ test / in不存在.进行了一些检查文件类型的测试System.out.println(path.getType());不同的路径.结果FileType.IMAGINARY表示该文件不存在.任何想法如何使用ftp文件夹