Hi Everyone I'm facing an issue while running a python script as a windows service can anyone help me??

Issue:

1.      I have created a python script for windows service, service is creating I can't able to run I'm getting the following error ( The pythonftp service terminated with the following service-specific error: Incorrect function.) in windows logs.

2.      I'm able to run the service from windows services, only if I'm creating service from the environment this is also working only on my laptop the same I have tried on another laptop I'm getting the same error.

3.      I'm sharing a screenshot for reference.

4.      code link: https://cutt.ly/ux7XdnB

5.      script name ftpservice.py

enter image description here

 

 

Regards,

Saleem.

 

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to