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

 

Upload file

 
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 >> Upload file
Page: [1]
 
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
Upload file - 12/8/2005 16:23:30   
Hi,I have a problem to upload some files to a certain folder
I worked with the file that Spooky has on the top of the page (upload.zip) and at the upload_process.asp file there is sUploadPath which I define a folder, can I send the folder name from the upload.asp and get it on the upload_process.asp?
Thanks,Elen
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/8/2005 18:09:02   
I think you can if you use the parameter in a querystring:

uploadprocess.asp?folder=myFolder

but I don't think you can use any hidden fields - it needs to be querystring.

..something like that?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 6:47:26   
Yes that what I was thinking of but it doesn't work, I tried to to write this uploadprocess.asp?folder=myFolder at the UPLOAD.ASP but how do I write the querystring at the upload_process.asp file?


(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 8:38:53   
quote:

how do I write the querystring at the upload_process.asp file


It would be on the form where you select the file(s) to upload. Somehow you need to put it in the URL that the form tag posts to. Something like:

<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="uploadprocess.asp">

becomes:

<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="uploadprocess.asp?folder=myFolder">

See, you need to get it into the form first. That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 9:26:31   
Thanks IT'S W O R K I N G :-)
Now can you tell me please how do I select multi files instead one by one?


(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 9:47:14   
quote:

Now can you tell me please how do I select multi files instead one by one?


Oh - *that* question, eh? :)

I don't know if the script you're using will support multi-file uploads. Refer to any help that came with the script.

I use a different set since my script supports multi-file uploads. If you're interested, PM me with an email address and I'll send you a copy of what I use.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 10:08:26   
Well since I've had more than 1 request, here is a link to the 2 files with scripts that I use for multi-file uploads.

http://www.clarkinsurance.com/multifileupload.zip

Just create as many <input type="file"... lines as you need emulating the lines in there already. Just remember to change the "fileX"

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to rdouglass)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 10:24:07   
Thanks you again I didn't look at the script yet but I have a question, this mean that I have to choose everytime 1 file but there are lots of lines to browes? if this is the case, is there onther script that let me choose lots of file? something like choosing lots of file with the SHIFT key

(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 10:25:17   
quote:

is there onther script that let me choose lots of file? something like choosing lots of file with the SHIFT key


Nothing that I'm aware of.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 10:34:36   
Ani idea how do I upload 400-600 or more files (jpg files)?

(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 11:08:23   
quote:

Ani idea how do I upload 400-600 or more files (jpg files)?


FTP? :)

Is this something you're going to do on a regular basis? If so, you may be able to do something with FSO's (file scripting objects) to list all files in a folder and update a DB with that list.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 11:15:09   
I can't use the FTP, I need to use the ASP that I build, do you have an example to the FSO's you just talked about?I know I can use a directory with that and delete and more but how do I choose multi files?

(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 11:26:50   
quote:

but how do I choose multi files?


I think you missed what I was trying to explain.

FSO's won't allow you to upload any more files. What FSO's will do is allow you to build a list of the files in a folder. Then you can add them to a db, display them on your page dynamically, etc. Won't help you with uploading but may be beneficial once the files are on the server.

Why is FTP not an option? If it's not, maybe you copy and paste thru FrontPage?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 12:11:41   
I can't use FTP becasue I am building this web site to a friend and I don't want him to look at the directory, I create a directory to him and he just have to choose those directory and upload some files.think of something like a photographer that need to upload lots of files to every person he is working for, how would you do it?

(in reply to rdouglass)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Upload file - 12/9/2005 12:15:03   
quote:

think of something like a photographer that need to upload lots of files to every person he is working for, how would you do it?
if its 400 or so files like you say, I would tell the photographer hes got to learn ftp or pay me.

_____________________________

Dan

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 12:48:04   
not a good idea because this is one example, and if you want to build few web sites to diffrent people then you are in a problem.Yahoo have something like that at http://photos.yahoo.com
and I would like to build something like that

(in reply to dpf)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 13:06:17   
quote:

and I would like to build something like that


I'm not going to sign up to look at it but how many photos do they allow uploaded at 1 time?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 13:15:37   
as much as you want it's like you choose some files from the hard drive with the shift key

(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 13:20:47   
quote:

it's like you choose some files from the hard drive with the shift key


Sounds to me like an ActiveX object. I know of no web-based form item that will do that - not even .NET forms.

Did you have to install something to get it to work?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 13:21:27   
yes

(in reply to rdouglass)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 13:25:32   
quote:

yes


Well, I think that's your answer. It probably was an ActiveX component that did the work.

We don't do a lot of ActiveX development here. Sorry. :)

That is significantly different than building web pages.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to wizard_oz)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 13:28:50   
ok thanks for your help

(in reply to rdouglass)
Spooky

 

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

 
RE: Upload file - 12/9/2005 14:25:43   
Check out the multiple upload example from motens code ( http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4 ) however, I dont think its reasonable to expect more that 4-5 files.

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to wizard_oz)
rdouglass

 

Posts: 9226
From: Biddeford, ME USA
Status: offline

 
RE: Upload file - 12/9/2005 14:30:46   
quote:

however, I dont think its reasonable to expect more that 4-5 files.


Spooky,

That's very similar to the example I posted. This person want's to upload 400+ files at the same time. :)

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Spooky)
Spooky

 

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

 
RE: Upload file - 12/9/2005 14:40:13   
My connection and server wouldnt handle it for sure ;-)

Imagine a user selecting 200+ files from their 5megapixel camera? :)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to rdouglass)
wizard_oz

 

Posts: 140
Joined: 9/3/2004
From: Ga,USA
Status: offline

 
RE: Upload file - 12/9/2005 19:04:34   
I am talking about very small files, something like 40kb

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Upload file
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