navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Uploading Pitctures/Files

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Uploading Pitctures/Files
Page: [1]
 
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

(in reply to Bnugent)
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


(in reply to Bnugent)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Uploading Pitctures/Files - 6/14/2001 20:20:00   
Here you go :

http://www.asp101.com/articles/jacob/scriptupload.asp

http://www.asptoday.com/articles/20000316.htm


(in reply to Bnugent)
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---


(in reply to Bnugent)
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.


(in reply to Bnugent)
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---


(in reply to Bnugent)
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


(in reply to Bnugent)
Bnugent

 

Posts: 257
From: Tampa Florida Tampa, FL USA
Status: offline

 
RE: Uploading Pitctures/Files - 6/14/2001 13:43:00   
http://www.asp101.com/articles/jacob/scriptupload.asp

------------------
Brian---


(in reply to Bnugent)
Mojo

 

Posts: 2431
From: Chicago
Status: offline

 
RE: Uploading Pitctures/Files - 6/14/2001 15:24:00   
Because of the error I am looking at server issues. I am assuming you followed the instructions and wrote your code correctly.

Here is a link to Microsoft which then links to 11 articles. A few of them could explain your problem.

http://search.microsoft.com/us/SearchMS25.asp?so=RECCNT&qu=800401f3&boolean=BOOLEAN&i=00&i=02&i=04&i=06&i=08&i=01&i=03&i=05&i=07&i=09&p=1&nq=NEW



(in reply to Bnugent)
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!


(in reply to Bnugent)
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---


(in reply to Bnugent)
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!


(in reply to Bnugent)
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


(in reply to Bnugent)
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


(in reply to Bnugent)
Rico

 

Posts: 14
From: Paris, France
Status: offline

 
RE: Uploading Pitctures/Files - 6/18/2001 20:16:00   
Try this one, and refer to my e-mail:

http://www.asp101.com/resources/visitors/index.asp?page=2

Wish you success,

Eric


(in reply to Bnugent)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Uploading Pitctures/Files
Page: [1]
Jump to: 1





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