Jump to content

uploading a picture! (pic-binary-pic)?? using asp


remrow
 Share

Recommended Posts

Hey, can any help me to upload a picture by asp.It takes a longer time to upload a picture directly so the picture can be changed into binary and again unchange them to picture. how to do it??please help with the asp codes.thank you

Link to comment
Share on other sites

ASP doesn't natively make it very easy to handle file uploads, so you'll need to find an ASP upload component to use. If you do a Google search you'll find quite a few. If you want to store the binary data you can open and read the picture like any other file using the filesystemobject. Displaying the binary data as an image requires sending a header to say that the data is an image, and then just writing out the data.

Link to comment
Share on other sites

[...]It takes a longer time to upload a picture directly so the picture can be changed into binary and again unchange them to picture. [...]
(Edited) I think Remrow means a compression/decompression mechanism... any suggestions?Remrow, are you talking about pictures in your site's html pages? Or something a user can upload to your site. Please say which it is.If relevant: consider saving your image in a different format (jpg, gif, etc), as some formats result in a much bigger file than other formats, so take longer to transfer.
Link to comment
Share on other sites

(Edited) I think Remrow means a compression/decompression mechanism... any suggestions?Remrow, are you talking about pictures in your site's html pages? Or something a user can upload to your site. Please say which it is.If relevant: consider saving your image in a different format (jpg, gif, etc), as some formats result in a much bigger file than other formats, so take longer to transfer.
Yes, i meant compression and decompression mechanism, and thats for my asp page for other users to upload pics on it and store it the ~ way.
Link to comment
Share on other sites

When I set up an ASP application that allows zip file uploads I downloaded a command-line unzip utility and then used a system call to run the unzip utility, extract all the files, and then check the unzipped directory with ASP. I used this utility:http://www.powerarchiver.com/pacl/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...