Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: ftp script problem .. bad interpreter?

by davidj (Priest)
on Apr 18, 2005 at 09:31 UTC ( #448764=note: print w/ replies, xml ) Need Help??


in reply to ftp script problem .. bad interpreter?

This is most likely the result of a file with dos newline encoding being executed on a Unix machine. The easy way to fix it is to use the dos2unix command. It will change the newline encoding to the Unix format and the script should run fine.

dos2unix filename


davidj


Comment on Re: ftp script problem .. bad interpreter?
Download Code
Re^2: ftp script problem .. bad interpreter?
by Anonymous Monk on Apr 18, 2005 at 09:46 UTC
    Thanks DavidJ, much appreciated :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://448764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2014-11-28 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls