PDA

View Full Version : No such file or directory error (confused)


ciper
07-15-2006, 03:52 AM
Ive hit a wall and Im unable to figure out whats happening. I have a couple files this has happened to but Ill use the buffer hack script for my example. Here is a copy/paste of what I typed

bash-2.02# /var/hack/buffer/bufferhack32a.tcl
bash: /var/hack/buffer/bufferhack32a.tcl: No such file or directory
bash-2.02#
bash-2.02# cat /var/hack/buffer/bufferhack32a.tcl
#!/tvbin/tivosh
# Suggestions/information/code from:
# BlackWidow000, Alphawolf, kaustic, MuscleNerd, embeem, PGM,
# DarkHelmet, cashion, jeboo, NutKase, John1980 and SR712

As you can see when I try to run the file directly it says it doesnt exist. If i prefix the previous command with cat then the files contents are displayed so I KNOW it isnt a typo.

Any ideas?

ciper
07-15-2006, 04:09 AM
Figured it out with help from this forum! Filezilla had detected the file as text and sent it over in ascii mode.

I need a copy of dos2unix for future use but I was able to get it working by forcing binary mode on my ftp client and resending the file.

Anyone have dos2unix for ppc?