If it is only one file, you can use following procedure (in putty):
- vi filename.extension (opens new file name in active folder on
server),
- copy + mouse right click while over putty (copy and paste),
- edit and save. =>vi editor commands
Edit file permission with next command: chmod u+x filename.extension