|
| |
|
|
Bnugent
Posts: 257 From: Tampa Florida Tampa, FL USA Status: offline
|
Uploading Pitctures/Files - 6/13/2001 16:52:00
"You are correct. We do not have anything on the server like asp upload. You can write standard asp code that will allow you to upload pictures/files to your site. We offer coding support for $75.00 per hour with one hour minimum."This was my response to the inquiry about whether or not they had a third party app on the NT server that would allow me to upload files/pictures. I need to allow for the upload of pictures and files on my site. Does anyone have any suggestions. I know about great apps like ASP upload but am I correct in thinking that this app must reside on the server? They are telling me that standard ASP code can be written which will allow for this. Is this different than an app like ASP upload. Thanks in advance. ------------------ Brian---
|
|
|
|
Spooky
Posts: 26599 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Uploading Pitctures/Files - 6/13/2001 23:35:00
There is an asp based script, Ill send the link later
|
|
|
|
Dealer58
Posts: 174 From: New York (was in Germany) Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 20:31:00
Oh Goody!I can use this too! I was going to have users email in photos and then load them manually until I figured a way to have them upload them themselves. Looks like I found another fix!  This is a Great Place!  CC
|
|
|
|
Bnugent
Posts: 257 From: Tampa Florida Tampa, FL USA Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 23:10:00
Spooky. I am attemping to use one of these. Here is the problem that I am running into:This is the error I get when I attmpt to upload: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /Maint/NewUpload/upload.asp, line 3 Invalid class string Here is line 3 of upload.asp: Post.Upload "E:\wwwroot\mscca2\images\campphotos" Obviously this something is wrong with the path that I am using. I have verified on the spooky login diagnostics that this is indeed the path. Is it because it is calling for a username and password? What could it be. ------------------ Brian---
|
|
|
|
khiser0001
Posts: 162 From: None Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 23:17:00
Check that folders permissions. Maybe they are set to not allow writes.
|
|
|
|
Bnugent
Posts: 257 From: Tampa Florida Tampa, FL USA Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 23:27:00
Okay. Good point. Well I just right clicked on the web and folder and all three of the boxes are checked. Now what?------------------ Brian---
|
|
|
|
Mojo
Posts: 2431 From: Chicago Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 13:41:00
It may be your server/host is the problem. Which one of the two techniques did you use? Joe
|
|
|
|
Spooky
Posts: 26599 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 16:40:00
You will need write permissions for the folder to allow the FSO to write to a file.It is possible to call a Response.Status = "401 Access Denied" to establish identity, but its best to get writable directory if you want many users to post. Remember to consider security of your web site when you start allowing uploads and try and restrict them to images only. ------------------ §þððk¥ "I am Spooky of Borg. Prepare to be assimilated, babycakes!" Subscribe to OutFront News Database / DRW Q & A The Spooky Login!
|
|
|
|
Bnugent
Posts: 257 From: Tampa Florida Tampa, FL USA Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 16:49:00
Spooky,Only admins will have access to the upload and that is only me and one other person. How do I make this folder writeable using FP or is that something my host will have to do on their side? ------------------ Brian---
|
|
|
|
Spooky
Posts: 26599 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Uploading Pitctures/Files - 6/14/2001 18:41:00
At the top of your web page, using :<% Response.Status = "401 Access Denied" %> Should result in a login box being presented. This is your Author password for the site. It should allow you to be recognised as a valid user, and thus have full author permissions (which include write) No guarantees of course, I havent used it in this way before  ------------------ §þððk¥ "I am Spooky of Borg. Prepare to be assimilated, babycakes!" Subscribe to OutFront News Database / DRW Q & A The Spooky Login!
|
|
|
|
Dealer58
Posts: 174 From: New York (was in Germany) Status: offline
|
RE: Uploading Pitctures/Files - 6/16/2001 20:24:00
Whoa!This could be dangerous! If I use either method I would have to give permissions to all users! I didn't look that closely at the code but I'm sure there is a way to tell the script to only upload image files. What if a user tries to diguise a virus as an image file. e.g. virus.gif. I'm sure that things like this can be done as I have a friend that downloaded an mp3 file from Napster. He got a message on his descktop "your computer has been hacked" and a 2 gig file embeded in his hard drive which had to be then thrown in the trash. How do we avoid a user from uploading a virus? CC
|
|
|
|
Spooky
Posts: 26599 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Uploading Pitctures/Files - 6/16/2001 17:04:00
Best you can do, is check the file extension for valid types (in code) and make sure you cant execute files from that directory.------------------ §þððk¥ "I am Spooky of Borg. Prepare to be assimilated, babycakes!" Subscribe to OutFront News Database / DRW Q & A The Spooky Login! VP-ASP Shopping cart
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|