Forum Discussion

thouhid1's avatar
thouhid1
Occasional Contributor
3 years ago

i want to upload file to server using sftp in testcomplete

Can anyone paste the code so that i can refer and impliment accordingly    Currently i am using this below code : but everytime i am getting ModuleNotFoundError: No module named 'pysftp'  . i have ...
  • thouhid1's avatar
    thouhid1
    3 years ago

    This solution partially helped but resolution was something different .

    we have to Install python greater than 3.6.4 to make it compatible with testcomplete . 

    Also use this line to point to specific python version before importing pysftp 

    os.sys.path.insert(0, "C:\\Python36\Lib\\site-packages")