Go Back   FlashFXP Forums > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Old 10-20-2004, 08:31 AM   #1
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default Scripting Support?

I use FlashFXP religiously for installing & upgrading scripts that have several hundred files. It would be a massive help if I could implement a script inside FlashFXP to automatically CHMOD specified files and/or directories (w/ recursive CHMOD support - don't want to have to name each individual file).

In all, I have to CHMOD 8 directories & 27 files. However, the files that I want to CHMOD are not all together, so I have to hunt down each set of files to change their permissions with each installation.

As a one time thing that's done infrequently, this is not a problem, but I do several installations & upgrades per day, and this would save me a lot of time.

There are other FTP clients on the market that have scripting support, but I am hoping that something can be done for my favorite FTP client, which I've already purchased 2 licenses for.




For the search monkeys: I did try searching but came up with nothing. If you can bring up results I missed, feel free to post a link and accept my apologies.
Jay is offline  
Old 10-20-2004, 08:45 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

This could be done with a custom command

Create a single custom command that performs all of the CHMODs

SITE CHMOD 666 <path/file>
SITE CHMOD 600 <path/file>
SITE CHMOD 555 <path/file>

etc

There are no immedate plans for scripting so this would be your best option.
bigstar is offline  
Old 10-20-2004, 12:16 PM   #3
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

Hello,

Thanks for the prompt reply. At least there's a way to do what I need to do, that's all I really care about.

Is there documentation on how to set up custom commands?
Will I be able to change the permissions on all the files with one "command", or will I have to set up several commands?
Will custom commands support recursive CHMOD?

(Might want to move this to a support forum)
Jay is offline  
Old 10-20-2004, 12:58 PM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

currently custom commands don't support a custom chmod with recrusive support.

The custom command script basically sends the commands directly to the ftp server without any special processing.
bigstar is offline  
 

Tags
chmod, files, flashfxp, ftp, support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:16 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)