Files
spring-integration-extensions/samples/smb
Spring Operator 306eec5f5e URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 12 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 345 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 13:41:58 -04:00
..
2019-03-22 13:41:58 -04:00
2019-03-20 15:56:18 -04:00
2013-02-22 14:40:33 -05:00

Spring Integration - SMB Sample

Introduction

This samples demonstrate some simple usage of the Spring Integration support for Server Message Block (SMB). The sample will poll an SMB remote directory.

How to Run the Sample

You can execute this sample simply via Maven:

$ mvn clean package exec:java

The sample will ask you for:

  • SMB Host
  • SMB Share and Directory
  • SMB Username
  • SMB Password

When running the sample you should see the following screen output:

14:19:02.145 INFO  [org.springframework.integration.samples.smb.Main.main()][org.springframework.integration.samples.smb.Main]
=========================================================
                                                     
     Welcome to the Spring Integration Smb Sample    
                                                     
    For more information please visit:               
https://github.com/SpringSource/spring-integration-extensions
                                                     
=========================================================
Please enter the:
	- SMB Host
	- SMB Share and Directory
	- SMB Username
	- SMB Password
Host: mySmbHost
Share and Directory (e.g. myFile/path/to/): demoShare/demoPath/
Username (e.g. guest): guest
Password (can be empty):
14:19:22.130 INFO  [org.springframework.integration.samples.smb.Main.main()][org.springframework.integration.samples.smb.Main]
=========================================================
                                                     
    Please press 'q + Enter' to quit the application.
                                                     
=========================================================
Polling from Share: smb://guest@mySmbHost/demoShare/demoPath/
14:19:23.044 INFO  [task-scheduler-1][org.springframework.integration.samples.smb] File Name: demo.data(597)

The polled files will be stored under target/smb-out.


For help please take a look at the Spring Integration documentation