[CentOS] No Such File...

Alexander Dalloz ad+lists at uni-x.org
Fri Nov 6 22:41:31 UTC 2009


Victor Subervi schrieb:

> Ok. As I mentioned before, I copied the contents of these two files:
> index.py
> template.py // which is referenced by the former
> --into--
> test.py
> test2.py
> I pasted them in through the ssh client, changing only the import statement
> from template to test2. *That worked.* However, the material that I uploaded
> through ftp doesn't render, it throws the error. The permissions are the
> same as the tests. So is the ownership. What gives??
> V

dos2unix <ftp uploaded script file>

Or use recode.

Alexander



More information about the CentOS mailing list