Web site file upload
I'd like to enable file upload on my web site, I'm told I have php, asp and perl enabled but know bugger all about any of them. What's the easiest approach? Nothing fancy just something other than giving out a FTP password.
TIA |
Your host needs a component on the server like aspupload from http://www.persits.com/ or fileup from http://www.softartisans.com/ - chances are they may already have one.
You can then call these components from within web pages. If you are talking about large numbers of files then granting limited FTP may be a better solution. |
http://www.pensaworks.com/prg_com.asp offers a script to run on your webspace to see what components are installed. :)
|
My pages are hosted by Fasthost, support there don't seem to have a clue. From their pages these modules are listed
ASP modules included: CDONTS and CDOSYS JMail ASP ASP JPEG MDAC 2.8 and ADO. But again they mean nothing to me. |
Originally Posted by SJ_Skyline
http://www.pensaworks.com/prg_com.asp offers a script to run on your webspace to see what components are installed. :)
|
Some days I just love Scoobynet. Upload now working :D
|
:thumb: good stuff :)
|
Might have to change hosts, bloody Fasthosts only allow a 50k file upload!
|
ASP Jpeg is very cool as well if you're uploading images - can shrink them, crop them, create thumbnails etc.
Persits and ASPUpload are both very cool. |
I'll look into doing something with the uploaded files next - pretty chuffed I managed to get them there. The 51k limit was my fault, but there is a 15 second limit so to upload a large file you need a fast connection.
|
Not sure but you may be able to use server.ScriptTimeout = x where x is time in seconds to help prevent timeout...
|
Sounds good, where do I use that?
|
Just put it in the header for your upload script.
e.g.: Set Upload = Server.CreateObject("Persits.Upload") Server.ScriptTimeout = 1000 Upload.OverwriteFiles = True Count = Upload.SaveVirtual("/files/") |
Nice one, I'll give it a go.
|
Originally Posted by Dream Weaver
Server.ScriptTimeout = 1000
Jack |
All times are GMT +1. The time now is 05:55 AM. |
© 2024 MH Sub I, LLC dba Internet Brands