logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > ASP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-31-2008, 08:55 PM   #1
student101
 
Join Date: Dec 2007
Posts: 379
Question Permissions using CHMOD command in FTP?

Permissions using CHMOD (or the ASP version) command in FTP.

I can set permissions when using CHMOD in PHP before I need to upload the files and reset it after uploading them, like this:This all happens on the server with the actual PHP files
Code:
 
CHMOD 0777
Upload file or files
CHMOD 0755
How to do this in ASP?


Cheers
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Old 04-03-2008, 07:17 AM   #2
student101
 
Join Date: Dec 2007
Posts: 379
Default

Is my question set wrong?
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Old 04-03-2008, 08:24 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,171
Default

just not a lot of ASP users here i think
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 04-05-2008, 05:49 AM   #4
student101
 
Join Date: Dec 2007
Posts: 379
Default

Good point, thanks for your response.
I have found some ASP ftp scripts but all I want is to set permissions - couldn't care about uploads and downloads.

FTP using ASP, change the permissions using ASP, Upload the files using an ASP upload script, change the permissions back for safety.

Cheers
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Old 05-29-2008, 07:50 AM   #5
student101
 
Join Date: Dec 2007
Posts: 379
Question

ASP and FTP commands to use CHMOD or similar to change folder permissions before uploading a file via a web form?

Is there a script or commands that can do this?
Are there any other settings that is avaiable on a domain that can make sure that the user has access even though the folders are set to "0755"?

This is all from a web form in a controlled area with Username and Password.

I know that this is possible in PHP with two systems:
suPHP (installed by hosts with a rewrite_module or ftp_module not really sure) or
FTP modules (I write a script with this "$conn = ftp_connect("$host");,blah blah...")

Any ideas unless you have something already?

Cheers
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Old 06-06-2008, 07:24 AM   #6
student101
 
Join Date: Dec 2007
Posts: 379
Default

This will do the trick:
http://www.xav.com/scripts/installer/3008.html
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Old 06-06-2008, 10:30 AM   #7
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

nice one mate

glad you got it sorted

we are all poor on here. Cant afford luxuries like license software.

have to use open source
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 06-06-2008, 10:45 AM   #8
student101
 
Join Date: Dec 2007
Posts: 379
Thumbs up

I am a serious Open Source fan.
I am in no way affiliated to any receipts of any sort.

Free is better, why? cause it will always work.

Perfect example:
Quote:
Microsoft - Give me $$$ for soft, any problems give me more $$$ for fixing it.
Ubuntu - Give me address will post soft direct to your "house" mail box, any problems - post it in the forums.
Microsoft - How many updates can we give you to slow your life down.
Ubuntu - How would you like to have control of your life.

This is no joke, it's real!
__________________
Amateurs ... Built the ark.
Professionals ... Built the Titanic.
specificity [sound like spe-sifis-ity]
student101 is offline   Reply With Quote
Reply


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


All times are GMT. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com