in a python script file, I am having a open statement and then i write a "50000" to that file. And then within the script i am writing a scp command that transfers the file to a remote machine. In the local machine if i check the file I can see the value that was written by the script. But on the remote machine if i open the file then i see the value 0.
Why is this? Why cant i see the value that I had written/