waarp/WaarpR66 — pull request #115 by bcarlin (2014-09-23 17:19:36+00:00)
Title: Allow clients to fetch files from subdirectories of remote servers with MultipleDirectTransfer and MultipleSubmitTransfer

While R66 clients can list files in subdirectories of the out folder of a R66 server MultipleDirectTransfer and MultipleSubmitTransfer, they cannot fetch them (with a pull rule) because of the use of tmpFile.getName().

For example (data/out being the "out" dir of the server) :

```
# on the server :
server $ ls data/out/**/*
client/test2.dat

# on the client
server $ java [...] MultipleDirectTransfer -file client/test?.dat -rule multidest -to server -client
[Unique MultipleDirectTransfer] Transfer in status: FAILED with no Transfer Id
{"command":"Unique MultipleDirectTransfer","status":2,"statusTxt":"Transfer in status: FAILED with no Transfer Id","remote":"server","error":"ErrorPacket:(3:f) PreTask in error: File cannot be read: /path/to/data/out/test2.dat"}
```

I don't know if using regex was the best solution, but it works well like that