Link to home
Start Free TrialLog in
Avatar of rwhubbard996
rwhubbard996Flag for United States of America

asked on

Chmod CuteFTP

What I am trying to do is change the permission of a file 'on the fly' so a PHP script can save a modified HTML page to our remote server.

Through JavaScript the CuteFTP transfer engine can be controlled.

Anyone have any experience doing this or ideas how to begin?

Thanks,
Roger
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Are you sure you are talking about cuteFTP and not about cuteHTML?
When you look in this file there is nowhere the word JavaScript:
http://help.globalscape.com/help/guides/CuteFTP_Pro7_User_Guide.pdf

ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwhubbard996

ASKER

Sorry for the delay I got sidetracked by the 'tyranny of the immediate'.

This is what I was referring to (from the GlobalScape website):

What is the Transfer Engine?
Built on a modular design platform, CuteFTP Professional's FTP Transfer Engine (TE) is completely independent of the main application's interface. You can control the TE through an industry standard COM (Component Object Model) interface using your favorite programming or scripting language, such as Visual Basic, Perl, ASP or JavaScript.

I was hoping to use JavaScript to do chmod remotely in a script, one file at a time.  I use php to create static html pages and want to update them from a script.  I have to leave the public access open (chmod 747) to the directory to enable fwrite() to save the modified html.

I may be going about this in the wrong way, and suggestions would be appreciated.

Thanks,
Roger