Opened 13 years ago
Closed 11 years ago
Last modified 10 years ago
#5619 closed Bug report (outdated)
transfered .sh file corrupt filed
|Reported by:||Rick Thomas||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||Windows 7|
I am using 184.108.40.206 - When I upload any .sh files and then try and run it on the server I get a bad interpreter in the shell. If I view the file online it looks ok.
If I transfer it with an old version of WS_FTP it works fine.
I deleted and re-entered the .sh as ASCII transfer in the File Extensions section but it didn't help.
Change History (2)
comment:1 by , 11 years ago
|Status:||new → moreinfo|
comment:2 by , 11 years ago
|Status:||moreinfo → closed|
No reply for more than 28 days.
Note: See TracTickets for help on using tickets.
Can you please view the file in a hexeditor? Maybe your text editor adds a BOM (byte-order-mark) which should not be in the shebang line and WS_FTP ignores it?