{"id":28412700,"url":"https://github.com/vbauer/commons-vfs2-cifs","last_synced_at":"2025-09-14T15:29:12.592Z","repository":{"id":4144720,"uuid":"5258306","full_name":"vbauer/commons-vfs2-cifs","owner":"vbauer","description":"SMB/CIFS provider for Commons VFS","archived":false,"fork":false,"pushed_at":"2018-11-15T19:32:35.000Z","size":49,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-24T13:41:43.306Z","etag":null,"topics":["cifs-provider","commons-vfs2-cifs","java","jcifs","smb"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbauer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-01T11:14:58.000Z","updated_at":"2025-02-23T06:49:13.000Z","dependencies_parsed_at":"2022-08-06T15:15:07.100Z","dependency_job_id":null,"html_url":"https://github.com/vbauer/commons-vfs2-cifs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vbauer/commons-vfs2-cifs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbauer%2Fcommons-vfs2-cifs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbauer%2Fcommons-vfs2-cifs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbauer%2Fcommons-vfs2-cifs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbauer%2Fcommons-vfs2-cifs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbauer","download_url":"https://codeload.github.com/vbauer/commons-vfs2-cifs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbauer%2Fcommons-vfs2-cifs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275123379,"owners_count":25409436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cifs-provider","commons-vfs2-cifs","java","jcifs","smb"],"created_at":"2025-06-02T23:44:44.814Z","updated_at":"2025-09-14T15:29:12.549Z","avatar_url":"https://github.com/vbauer.png","language":"Java","readme":"\n# commons-vfs2-cifs\n\n[![Build Status](http://img.shields.io/travis/vbauer/commons-vfs2-cifs.svg?style=flat)](https://travis-ci.org/vbauer/commons-vfs2-cifs)\n[![License](http://img.shields.io/badge/License-Apache%2C%20Version%202.0-blue.svg?style=flat)](http://opensource.org/licenses/Apache-2.0)\n[![Maven](https://img.shields.io/github/tag/vbauer/commons-vfs2-cifs.svg?label=maven)](https://jitpack.io/#vbauer/commons-vfs2-cifs)\n[![Codacy Badge](https://api.codacy.com/project/badge/grade/f3f8cb0b44c84349b0f56e13cae6832f)](https://www.codacy.com/app/bauer-vlad/commons-vfs2-cifs)\n\n[Commons VFS](http://commons.apache.org/proper/commons-vfs/) provides a single API for accessing various different file systems. It presents a uniform view of the files from various different sources.\n\nProject \"commons-vfs2-cifs\" is a SMB/CIFS provider for Commons VFS.\n\n\n## Requirements\n\nProject \"commons-vfs2-cifs\" requires:\n* [JCIFS library](http://jcifs.samba.org)\n* Java 8\n\n\n## Setup\n\nGradle:\n```groovy\nrepositories {\n    maven {\n        url \"https://jitpack.io\"\n    }\n}\n\ndependencies {\n    compile 'com.github.vbauer:commons-vfs2-cifs:1.2.0'\n}\n```\n\nMaven:\n```xml\n\u003crepository\u003e\n    \u003cid\u003ejitpack.io\u003c/id\u003e\n    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\u003c/repository\u003e\n\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.vbauer\u003c/groupId\u003e\n    \u003cartifactId\u003ecommons-vfs2-cifs\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n## Example\n\n```java\n// Retrieve file system manager\nfinal FileSystemManager fileManager = VFS.getManager();\n\n// Configure authenticator\nfinal FileSystemOptions fileSystemOptions = new FileSystemOptions();\nfinal StaticUserAuthenticator userAuthenticator =\n    new StaticUserAuthenticator(domain, login, password);\n\nDefaultFileSystemConfigBuilder.getInstance()\n    .setUserAuthenticator(fileSystemOptions, userAuthenticator);\n\n// Resolve file object file from virtual file system\nfinal String uri = \"smb://fs/Documents\";\nfinal FileObject fileObject = fileManager.resolveFile(uri, fileSystemOptions);\n```\n\n\n## Known Issues\n\nTo date, JCIFS has always tried NetBIOS broadcast lookups in favor of DNS which frequently resulted in a 6 second\ndelay  if the jcifs.resolveOrder property was not adjusted. This behavior has been changed to try  DNS before NetBIOS\nbroadcast lookups which should result in much less frequent delays when using default settings. To restore the old\nbehavior, simply set **jcifs.resolveOrder=LMHOSTS,BCAST,DNS**.\n\n\n## Might also like\n\n* [jconditions](https://github.com/vbauer/jconditions) - Extra conditional annotations for JUnit.\n* [jackdaw](https://github.com/vbauer/jackdaw) - Java Annotation Processor which allows to simplify development.\n* [houdini](https://github.com/vbauer/houdini) - Type conversion system for Spring framework.\n* [herald](https://github.com/vbauer/herald) - Logging annotation for Spring framework.\n* [caesar](https://github.com/vbauer/caesar) - Library that allows to create async beans from sync beans.\n* [avconv4java](https://github.com/vbauer/avconv4java) - Java interface to avconv tool.\n\n\n## License\n\n```\nCopyright 2014 Vladislav Bauer\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbauer%2Fcommons-vfs2-cifs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbauer%2Fcommons-vfs2-cifs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbauer%2Fcommons-vfs2-cifs/lists"}