I have code does calls put() with the a destination path of ~/filename
and fails:



put("/home/ml623/tmp/ntpupdate/test.sh","~/test.sh",mirror_local_mode=True)

the output :

[b-10] put: /home/ml623/tmp/ntpupdate/test.sh -> ~/test.sh

Warning: put() encountered an exception while uploading
'/home/ml623/tmp/ntpupdate/test.sh'

Underlying exception message:
    No such file


How do I debug this further?
If I hard code the destination as '/home/ml623/test.sh' it works fine.

Thanks,
Mohamed.

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to