473,837 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3734
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
9122
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 data, imports it into a mySQL database and deletes the .csv-file after the import. so far, so good. but in some cases the cronjobs starts running when the file is not completely
2
3943
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 1&1 with only limited server configuration via a web based control panel. My query relates to the ASP security model and how it relates to FrontPage options for setting file access on a database file. If you know of any online documentation...
3
2818
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 "Thin Client". The problem is that we also use PC's to run the "Client Access" program and under the following script it will create a match and load the wrong WS file. I read that you should not use the DIR function but that's that only way I...
4
47554
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) 4) Once the copy is complete, the batch file opens the Access database again 5) EXIT should close out the cmd window but it does not execute that line
1
2539
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 system login. Can this be done? Thanks
11
9608
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 tried the following: FileIOPermision permFileIO = new FileIOPermission(FileIOPermissionAccess.Read, filepath.Value.ToString());
0
3947
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. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
13
11167
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 writes a specific string to the log file. My original program (MKS Toolkit shell program) which keeps running "grep" checking the "exit string" on the "log files". There are no file sharing problem.
16
2417
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. I also want this app to have handle to this file, then when the user stops editting this file, he can close it using this app.
5
17780
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 with the path "\\ 192.168.2.2\temp" (where temp is a shared directory on server \\192.168.2.2), windows prompts for a User Name and password of a user who has permission on that computer to access that directory. If I enter valid details, the...
0
10902
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10583
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10288
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7014
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5680
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4481
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3128
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.