# How is the easy FTP server access achieve?

**URL:** <https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60>\
**Category:** VxWorks SDK\
**Created:** [November 5, 2021, 5:32pm UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60 "2021-11-05T17:32:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgarbanz](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dgarbanz](https://forums.windriver.com/u/dgarbanz)\
**Post date:** [November 5, 2021, 5:32pm UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60/1 "2021-11-05T17:32:22Z")

</div>

One customer started playing around with VxWorks 7 SDK for QEMU (sabrelite). Then he built a custom VSB and VIP project for imx6 sabrelite QEMU. He is trying to access a FTP server on the host machine from the QEMU VxWorks image, in the same way he did it with the WindRiver Lab image he used for his initial testings.

Based on the documentation ([README\_qemu-sabrelite](https://labs.windriver.com/downloads/wrsdk-vxworks7-docs/2103/README_qemu-sabrelite.html)) I extracted the following:

For host file system access from the VxWorks guest, start an FTP server and enable user “target” with password “vxTarget”. These are the built-in credentials for the VxWorks kernel image for QEMU (sabrelite).

`$ sudo python -m pyftpdlib -p 21 -u target -P vxTarget -i 127.0.0.1 -d $HOME &`

He wants to know what are the required settings on the custom VSB and VIP image, so it can connect to the host machine FTP server in the same way described in the documentation.

I reviewed the vip\_config.json and vsb\_config.json files of the SDK, but I didn´t find any particular setting regarding FTP.

Could you please provide me with instructions on how to achieve that?

Thanks in advance for any help.

Best regards,  
-Daniel

---

<div class="post-metadata">

**Author:** ![dan.milea](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@dan.milea](https://forums.windriver.com/u/dan.milea)\
**Post date:** [November 8, 2021, 10:51am UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60/2 "2021-11-08T10:51:55Z")

</div>

For the VxWorks kernel included in the VxWorks SDK for QEMU (sabrelite) on Wind River Labs, the boot line is “enet(0,0)host:vxWorks h=10.0.2.2 e=10.0.2.15 u=target pw=vxTarget”. This ensures that the host IP address and FTP credentials are the ones matching the recommended QEMU deployment configuration.

Keep in mind that for i.MX6 the boot line must be set in this dts file in the VIP directory: fsl\_imx6\_2\_0\_4\_0/imx6q-sabrelite.dts

E.g.  
chosen  
{  
bootargs = “enet(0,0)host:vxWorks h=10.0.2.2 e=10.0.2.15 u=target pw=vxTarget”;  
};

Regards,  
Dan

---

<div class="post-metadata">

**Author:** ![dgarbanz](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dgarbanz](https://forums.windriver.com/u/dgarbanz)\
**Post date:** [November 11, 2021, 6:55pm UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60/3 "2021-11-11T18:55:56Z")

</div>

Hi Dan,

Thanks a lot for your answer. After applying the above configuration, I am able to connect to the FTP server running on the host and also the workbench debugger.

Best regards,  
-Daniel

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alexsunny123](https://forums.windriver.com/u/alexsunny123)\
**Post date:** [January 25, 2022, 1:43pm UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60/4 "2022-01-25T13:43:17Z")

</div>

thanks for the awesome information.

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alexsunny123](https://forums.windriver.com/u/alexsunny123)\
**Post date:** [November 21, 2022, 10:59am UTC](https://forums.windriver.com/t/how-is-the-easy-ftp-server-access-achieve/60/5 "2022-11-21T10:59:31Z")

</div>

> [@alexsunny123](#):
>
> thanks for the awesome information[.](https://ometv.onl)[.](https://chatroulette.top)

thanks my issue has been fixed.
