473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

file access

Hi all!

I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?
I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?
Your advice would be extremely helpful.

Thanks in advance.

Jerry

Jul 20 '05 #1
2 3711
Jerry wrote:
I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...
.... for is a server-side solution. Nothing else can provide reliably what
you are requesting.
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?
Server-side JavaScript can provide that, client-side JavaScript cannot.
I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?


I suggest you use PHPs includes, because it's free, open source, (like
JavaScript) part of the C language family (i.e. has similar syntax) and
is (unlike JavaScript) designed for server-side operation.

---> http://www.php.net/
PointedEars
--
This script is a hack. It's brute force. It's horrible.
It doesn't use Artificial Intelligence. It doesn't use Virtual Reality.
It's not perl. It's not python. It probably won't work unchanged on
the "other" thousands of unices. But it worksforme. -- ramiro in run-mozilla.sh

Jul 20 '05 #2
Hi,

Thomas 'PointedEars' Lahn wrote:
Jerry wrote:

I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...

... for is a server-side solution. Nothing else can provide reliably what
you are requesting.


Reliably being the keyword. Solutions to read files on the client exist,
but are depending on the client's configuration, and shouldn't be used
for critical operations.
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?

Server-side JavaScript can provide that, client-side JavaScript cannot.

I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?

I suggest you use PHPs includes, because it's free, open source, (like
JavaScript) part of the C language family (i.e. has similar syntax) and
is (unlike JavaScript) designed for server-side operation.


JavaScript is just a language. It is designed for anything the platform
allows. JavaScript on ASP, for example, is server-side, and works pretty
well.
PointedEars


Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Dino | last post by:
dear all, i've created an application for a customer where the customer can upload ..csv-files into a specified ftp-directory. on the server, a php-script, triggered by a cronjob, reads all the...
2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
3
by: Joe Costa | last post by:
I have written the following code to search for the right file depending on the startup file for "Client Access". The menu database that I made will load the correct config file specific for each...
4
by: Bill | last post by:
I need help closing a CMD window when it is executed from Access. 1) The batch file is called from Access. 2) Access closes, 3) the batch runs a copy of the access database (creating a backup)...
1
by: raydelex | last post by:
I am new to securing a database with logins. My questions is: I want only one database to use a new Workgroup file that I have created, not all the Access databases that I bring up under my...
11
by: sur | last post by:
Hello, My problem is that File.Exists works fine if my file is on my local drive but returns false if its on any other drive. I think that the issue is probably file permissions and so I have...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
13
by: George | last post by:
Hi, I am re-writing part of my application using C#. This application starts another process which execute a "legacy" program. This legacy program writes to a log file and before it ends, it...
16
by: Eran.Yasso | last post by:
Hi, I have a mdb file shared in the LAN. I want to write app that verifies if it's open. If the file is not open, then my app can open the file. if the file is used, then the app won't open it....
5
by: =?Utf-8?B?QWRyaWFuTW9ycmlz?= | last post by:
Hello! I'm trying to copy a file from another computer on the network that I do not have permission with my current logon details to access. If I open the folder using the Windows file manager...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.