PDA

View Full Version : How to create NTFS Junction links with CHATTR command?


mantonio1965
09-26-2015, 05:11 PM
Hi, i would like to execute a custom command that creates a symlink on dir upload completed. The symlink must be an NTFS Junction link rather than a classic symlink which ends up as empty folder within the Windows filesystem, whereas the NTFS Junction link works also within the Windows filesystem. Is that possible? If so, how?

MxxCon
09-28-2015, 11:03 PM
Does FTP server you upload to supports creating ntfs junctions?

mantonio1965
09-29-2015, 04:12 AM
Hi, yes, ioFTPD supports the creation of these link types as i know from the ioNINJAs zipscript and ioLAB. There is also mention of a 'site SYMLINK' command in the server docs, of which i supposed to be able to create such links, but this command doesn't work for me. From the site help i for this command I know that
Usage: SITE SYMLINK <dirPath> | <name>
<dirPath> - Path to target directory.
<name> - Name (or path) of new symlink.
=> Create a new ioFTPD symbolic link using <name> for the link and
"<dirPath>" as the target.
So, there should be such functionality, but executing that command gives me this response through the FFXP status window:
500 symlink: No such file or directory
For the sake of testing i changed the execution rights for this command to
;symlink = 3GV1M
symlink = *
but it changed nothing. Still no go. If anybody knows, how to fix that, please report.

MxxCon
10-02-2015, 09:35 PM
So then you should ask ioFTPD folks. :)

mantonio1965
10-07-2015, 04:09 AM
Why should i if i'd like to create a custom command? This is the FFXP forum and my issue releates to this application.