fast-data-transfer / fdt

FDT is an Application for Efficient Data Transfers which is capable of reading and writing at disk speed over wide area networks (with standard TCP). It is written in Java, runs an all major platforms and it is easy to use. FDT is based on an asynchronous, flexible multithreaded system and is using the capabilities of the Java NIO libraries.
https://fast-data-transfer.github.io/
Apache License 2.0
201 stars 45 forks source link

FDT throws error: #72

Closed audiomuze closed 2 years ago

audiomuze commented 2 years ago

As of today invoking: java -jar ~/fdt/fdt.jar -c target_ip -P 10 -d /target/path/ -r ./*

throws error:

java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at lia.util.net.copy.FDTMain.main(FDTMain.java:55)
Caused by: java.lang.IllegalArgumentException: Illegal syntax! You can use either Client/Server (-c/-d) syntax, either SCP syntax
        at lia.util.net.common.Utils.parseArguments(Utils.java:537)
        at lia.util.net.copy.FDT.main(FDT.java:440)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        ... 2 more
audiomuze commented 2 years ago

Seems error was related to target path.