FtpSupport
@DubboService
public class FtpSupportProvider implements IFtpSupportProvider {
@Autowired
private FtpSupport ftpSupport;
@Override
public boolean upload(FtpOrgEnum lendOrg, String remotePath, String localFilePath) {
return ftpSupport.upload(lendOrg, remotePath, localFilePath);
}
@Override
public boolean download(FtpOrgEnum lendOrg, String remotePath, String localFilePath) {
return ftpSupport.download(lendOrg, remotePath, localFilePath);
}
@Override
public boolean exist(FtpOrgEnum lendOrg, String remotePath) {
return ftpSupport.exist(lendOrg,remotePath);
}
}