Go Back   FlashFXP Forums > > > >

General Discuss anything and everything related to FlashFXP

 
 
Thread Tools Display Modes
Old 04-13-2003, 04:53 AM   #1
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default Auto-CHMOD script?

I do a lot of script installations and I was hoping there was a way to automatically have FlashFXP CHMOD specified directories and files after it uploaded them.

Is there a way to do this, and if so ... could somebody please help me set it up to do it?
Jay is offline  
Old 04-28-2003, 06:52 AM   #2
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

Erm, bump?
Jay is offline  
Old 04-28-2003, 07:12 AM   #3
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

If the directory structure is the same you could create a custom command and then execute the command after the files are uploaded.

I'm afraid there is no option to chmod after upload
bigstar is offline  
Old 04-28-2003, 08:44 AM   #4
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

Yes, the directory structure is identical from localhost to the remote server, as I am uploading all of the files in one "go", and then just running the installer (after CHMODing several directories/files manually).

If there is a way to make a custom command CHMOD them without me having to do each one individually, it would be of great use to us at IPB and people that install scripts and don't relish the chore that is associated with CHMODing a ton of files/directories for each script that is installed.
Jay is offline  
Old 05-01-2003, 08:44 PM   #5
mod
Junior Member
 
Join Date: Apr 2003
Posts: 2
Default

Another suggestion is to configure your ftpd to automatically set permission flags, this can be done on most unix ftpd's. Im not really sure about ftpds on other OS's
mod is offline  
Old 05-03-2003, 06:07 AM   #6
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

Although I can do this on my dedicated server, I don't imagine the majority of the servers that I install scripts on would take kindly to such a request from a non-account holder, and asking people to request that from their host is really a long way around.

It's much simpler to use an upload script that is made to automatically CHMOD files as it uploads instead of doing that, but I'd rather use my FTP client if possible.
Jay is offline  
Old 05-03-2003, 03:04 PM   #7
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

did you write a custom command?

If you need a simple example it would work like this.
say you're in /

&cd /cgi-bin
SITE CHMOD 755 script.cgi
&cd protected
SITE CHMOD 755 script.cgi

the above example would set the chmod for
/cgi-bin/script.cgi
/cgi-bin/protected/script.cgi
bigstar is offline  
 

Tags
chmod, hoping, script, set, uploaded

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 10:12 AM.

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