Community
Participate
Working Groups
Seeing this on OrionHub today: SFTP import seems to choke on symbolic links, creating an empty document instead and not importing any other entries.
Likely the service should be updated to ignore symbolic links. In the case of a symbolic link to a file, the symbolic link is downloaded as a copy of the file. For example, at the sftp site: % ln -s index.html default.html Subsequently the symbolic link default.html is imported as a copy of index.html and Orion contains two identical files. So the Orion server contains: % ls -l -rw-r--r-- 1 ahunter ahunter 639 Jun 21 15:35 default.html -rw-r--r-- 1 ahunter ahunter 639 Jun 21 15:20 index.html In the case of a symbolic link to a folder, the sftp session fails with an exception, halts at that link and an zero length file is left on the Orion server. For example, at the sftp site: % ln -s images folder So the Orion server contains afterwards: % ls -l -rw-r--r-- 1 ahunter ahunter 0 Jun 21 15:37 folder -rw-r--r-- 1 ahunter ahunter 639 Jun 21 15:20 index.html
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html