# connectport x2 upload file

**URL:** <https://forums.digi.com/t/connectport-x2-upload-file/23211>\
**Category:** Python\
**Tags:** connectport-x2, file, python\
**Created:** [September 1, 2022, 10:45am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211 "2022-09-01T10:45:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmonroy](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dmonroy](https://forums.digi.com/u/dmonroy)\
**Post date:** [September 1, 2022, 10:45am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/1 "2022-09-01T10:45:43Z")

</div>

Hello all,

I would like yo know if there is any possibility to upload a file to /WEB/python without the connectprog.exe application? Is there any kind of REST service so I can POST the file?

Many thanks!

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 16, 2022, 8:20am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/2 "2022-09-16T08:20:16Z")

</div>

You can upload via a Telnet connection or an FTP client.

---

<div class="post-metadata">

**Author:** ![dmonroy](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dmonroy](https://forums.digi.com/u/dmonroy)\
**Post date:** [September 26, 2022, 9:26am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/3 "2022-09-26T09:26:53Z")

</div>

I am not able to connect via FTP client, which port is supposed to be used? As far as I have readed, it is not possible to do it through Telnet, could you share the command?  
thanks!

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 26, 2022, 9:44am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/4 "2022-09-26T09:44:02Z")

</div>

FTP ports are 20 and 21.

You should also be able to use Telnet on port 23

---

<div class="post-metadata">

**Author:** ![dmonroy](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dmonroy](https://forums.digi.com/u/dmonroy)\
**Post date:** [September 27, 2022, 8:36am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/5 "2022-09-27T08:36:36Z")

</div>

I can communicate with the devices, but I cannot upload a python file which is my problem.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 29, 2022, 8:45am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211/6 "2022-09-29T08:45:51Z")

</div>

If you are not able to use an FTP client, then I would suggest using the web interface instead.
