This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166887

Summary: WINDOWS-UNIX END OF LINE CONVERSION ISN'T DONE BY THE IDE
Product: php Reporter: rastrano <rastrano>
Component: FTP SupportAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description rastrano 2009-06-11 00:42:07 UTC
EOL Conversion is not done by the IDE before uploading the file via SCP (SFTP), this may be severe, for instance if the
application contains some PHP CLI Scripts they cannot be executed after upload because linux gives the following error:

cannot find the interpreter !#/usr/bin/php^M

Please add this feature and the NetbeansPHP IDE will be perfect. :) i love it.

http://en.wikipedia.org/wiki/Newline
Comment 1 Tomas Mysik 2009-06-11 09:21:14 UTC
Well, I don't think that NB should do any _automatic_ EOL conversion... But on the other hand, you are right,
currently it's not possible to convert EOLs in NetBeans. There's issue #72515 which describes this, so marking this
issue as its duplicate (sorry, I really think that _only_ user knows what (s)he uploads and where and what will be
done with those files).


*** This issue has been marked as a duplicate of 72515 ***