Forum Moderators: coopster & phranque

Message Too Old, No Replies

Is there any pity for a newbie?

basic questions

         

dvduval

4:25 pm on Jul 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd like to run some Perl scripts. I have a couple of questions:
How do you upload in binary? Can this be done from Dreamweaver?
If not, what is the preferred method?
Are the permissions set locally before uploading or after they are on the server?

Thanks for any help given.

richlowe

4:44 pm on Jul 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I usually use FTP. There are simple commands in FTP to change to binary. I've tended to shy away from using products like Frontpage or Dreamweaver to upload, as they seem to do "other things" that I don't like. The protection codes are usually set after uploading, but usually only the first time. After that the file "remembers" what it was before.

Richard Lowe

transistor

5:11 pm on Jul 30, 2002 (gmt 0)

10+ Year Member



FTP or SSH are my usual choices.
I've removed FTP access to my site and only use SSH.
I've never used Dreamweaver to upload, I don't know what it will do to your files.

Once you upload your files, be sure to check on the server what are the permissions it has and if necessary, change them.

Hope this helps :)

dvduval

5:17 pm on Jul 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That was very helpful.
Thanks.

volatilegx

5:45 pm on Jul 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perl scripts should be uploaded in ASCII mode, not binary mode.

You really ought to use an FTP program like CuteFTP or WS-FTP to do the upload.

You upload the perl script first, then you set it's permissions, usually to 755 (-rwxrxrx or owner: read write execute, group: read execute, world: read execute).