In my experience if you can somehow have the file on the filesystem to start with, you can use put to get it into HDFS.
If you need integration with legacy systems, there are many options. since NFS is a common way to integrate you might try this https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html