Opened 14 years ago

Closed 12 years ago

Last modified 11 years ago

#5619 closed Bug report (outdated)

transfered .sh file corrupt filed

Reported by: Rick Thomas Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: Windows 7

Description

I am using 3.3.4.1 - 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 Alexander Schuch, 12 years ago

Status: newmoreinfo

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?

comment:2 by Alexander Schuch, 12 years ago

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days.

Note: See TracTickets for help on using tickets.