I have a compiled file written with golang, if I transfer the file to another PC with a usb driver, and add the permission with sudo chmod +x myfile, it runs perfectly, but when I transferr the file with filezilla and do the same process, it says: can not execute binary fil: exec format error, Why is that?
0 Answers