|
| |
|
|
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.
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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)?
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
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?
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
wizard_oz
Posts: 140 Joined: 9/3/2004 From: Ga,USA Status: offline
|
RE: Upload file - 12/9/2005 13:21:27
yes
|
|
|
|
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
|
|
|
|
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
|
|
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
|
|
|