a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Uploading Scripts to UNIX server

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Uploading Scripts to UNIX server
Page: [1]
 
scottyg7

 

Posts: 2
From: None
Status: offline

 
Uploading Scripts to UNIX server - 8/20/2001 23:33:00   
What is the recommended way for publishing Perl Scripts to a UNIX server.

The issue is that scripts created in a Windows environment (e.g. Notepad) contain line break characters (^M) which are not handled by UNIX.

The approach I'm currently using (and made up) is to use Programmers File Editor to save in UNIX format. I've created an association of .CGI to PFE so that it is always opened using the right utility. I then import that file into my FrontPage local Web into a SCRIPTS directory that allows execution. This approach allows me to use FrontPage to publish.

The other approach I've come across is to create the script normally (i.e. notepad) and use an FTP client such as WS_FTP to upload the file to the directory on my UNIX server in ascii mode. This seems like many more steps, but is the most recommended I've been able to find.

Does my first approach seem sound? It seems to work. Are there are considerations I'm not think of?

Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Uploading Scripts to UNIX server - 8/20/2001 16:29:00   
quote:
Originally posted by scottyg7:
What is the recommended way for publishing Perl Scripts to a UNIX server.


Recommended? You state it below
quote:

The other approach I've come across is to create the script normally (i.e. notepad) and use an FTP client such as WS_FTP to upload the file to the directory on my UNIX server in ascii mode. This seems like many more steps, but is the most recommended I've been able to find.


Many more steps? Hmm, I find the method above MUCH faster than publishing w/ FP.

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"


(in reply to scottyg7)
scottyg7

 

Posts: 2
From: None
Status: offline

 
RE: Uploading Scripts to UNIX server - 8/20/2001 16:53:00   
I say many more steps because...I'm trying to create a process for end-users to go through and if I can keep as much as possible within the FrontPage publishing paradigm I think they'll grasp it easier. What would be nice is for FrontPage to be able to handle files that need to be ascii for upload.

(in reply to scottyg7)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Uploading Scripts to UNIX server
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts