Jump to content
Sign in to follow this  
NicePerson

Edit a File

Recommended Posts

Is it possible to edit a text or a html file on a website using autoit by signing in to cpanel?

If yes then how?

it's probably easier to just edit the code and upload via ftp to replace

Share this post


Link to post
Share on other sites

I just want to edit one line of html file not whole code ;)

So i don't want to use ftp..

Is not it possible to edit a line of a file on a website?

Share this post


Link to post
Share on other sites

I just want to edit one line of html file not whole code ;)

So i don't want to use ftp..

Is not it possible to edit a line of a file on a website?

Edited by RMR

Share this post


Link to post
Share on other sites

No its not possible to directly and safely edit a single line of text in a (assuming text) file.

But you can create you own function to do the job for you.

Example function definition: Function($MyFile, $LineNumber, $NewLineText)

Suggested UDF browsing: File Management.


"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...