Can someone help me with commands? I'm trying to upload file to server based on linux.
You need an scp client. Putty is not one. You can use WinSCP or PSCP. Both are free software.
Use WinSCP for file transfer over SSH, putty is only for SSH commands.
"C:\Program Files\PuTTY\pscp.exe" -scp file.py server.com:
file.py will be uploaded into your HOME dir on remote server.
file.py
HOME
or when the remote server has a different user, use "C:\Program Files\PuTTY\pscp.exe" -l username -scp file.py server.com:
"C:\Program Files\PuTTY\pscp.exe" -l username -scp file.py server.com:
After connecting to the server pscp will ask for a password.