FTP resources (binaries, libs, config files) are included in prebuild 7.0 VM that is available in QNX Software Center: QNX SDP 7.0 x86-64 virtual machine for VMware
FTP resources (binaries, libs, config files) are not included in the generated 7.1 VMware images that you can create in Momentics or by running mkqnximage.
The following describes one approach to get FTP working in 7.1:
Source 7.1 environment
In an empty folder, Run: mkqnximage --type=vmware
Go into /local/snippets and make the following modifications:
xbin/telnetd=usr/sbin/telnetd
xbin/inetd=usr/sbin/inetd
xbin/ftpd=usr/sbin/ftpd
[gid=0 uid=0 perms=444] pam/config/ftpd={
# The PAM configuration file for the 'ftpd' service
NOTE: When you FTP to the 7.1 VM (i.e. a VM generated using Momentics), you may notice that attempts to run "ls" do NOT list the contents of the folder. The only thing you see is:
229 Entering Extended Passive Mode (|||65473|)
150 Opening ASCII mode data connection for '/bin/ls'
226 Transfer complete
HOW TO FIX: ftp needs "/bin/sh". The 7.1 VM does not have "/bin/ls". It has "/system/xbin/ls". You can modify output/build/ifs.build to include:
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out toQNX Technical Support if you have any questions/concerns.