jrisi03
asked on
Pass multiple values thorugh input box
What code is necessary to have an input box that allows multiples files to be opened?
I have been reading and I from what i have read it says that internet explorer does not allow it unless there is some server side programming done.
this is what i currently have for this portion of the web page
<FORM action=writeFile2.asp method=post encType=multipart/form-dat a>
<INPUT type=file size=50 name=FILE1><BR>
what ever means necessary to get this to work even another web language
I have been reading and I from what i have read it says that internet explorer does not allow it unless there is some server side programming done.
this is what i currently have for this portion of the web page
<FORM action=writeFile2.asp method=post encType=multipart/form-dat
<INPUT type=file size=50 name=FILE1><BR>
what ever means necessary to get this to work even another web language
ASKER
its about 2,700 files that need to be uploaded a day. i can do an input box for each but thats not efficient. Yes I am uploading these files.
Ah, I see!
Are you using an upload component of some sort like ASPUpload or SAUp?
FtB
Are you using an upload component of some sort like ASPUpload or SAUp?
FtB
ASKER
aspSmartUpload so basically aspupload
To do file uploads you need one File input box for each file to be uploaded and you can't circumvent the File upload tag. For that many files you may need to find another way - like FTP.
I am looking to see if there is any way to batch the files programitically, i.e., use FSO to read the directory, create the form with all of the values and submit, but I don't think that will work.
Is there any reason you aren't using FTP given how many files that you are moving? It would be faster...
Is there any reason you aren't using FTP given how many files that you are moving? It would be faster...
ASKER
Military Specifications
We cant use ftp
I was browsing through yahoo mail and their input box has it
this is the code
are they calling on something to be able to pull multiple files
<form method=post enctype="multipart/form-da ta" action="/filemanager/uploa d">
<input type="hidden" name="directory" value="">
<input type="hidden" NAME="dispopts" VALUE="html, gif, jpg, other;;*">
We cant use ftp
I was browsing through yahoo mail and their input box has it
this is the code
are they calling on something to be able to pull multiple files
<form method=post enctype="multipart/form-da
<input type="hidden" name="directory" value="">
<input type="hidden" NAME="dispopts" VALUE="html, gif, jpg, other;;*">
Checked Yahoo and they use seperate File tags for each file to upload
ASKER
YOUR RIGHT SORRY I WASNT PAYING ATTENTION.
IS IT POSSIBLE TO IMPLEMENT AN FTP GUI
????
IS IT POSSIBLE TO IMPLEMENT AN FTP GUI
????
How many people are we talking about here that will uploading files?
I was thinking more about giving people ftp access to the folder on the server and giving them an FTP program to use. Would be faster for the uploading of files.
ASKER
i say about 50 different acount across the United States
ASKER
is it possible to run ftp commands through asp
No asp is server side it doesnt exist at the client
What would be safer, then is to set up a PCAnywhere accounts that limit access to just one directory and let people transfer files that way. This will give you better security perhaps then just using a freeware/shareware FTP utility.
FtB
FtB
ASKER
I just thought of something
how bout they select one file from the folder
and then i take that file path
and use that and do a path minus the file name
so it would be some thing like
D:\ssn\photo\usmc\*.*
does that sound right
and then the upload would take every file from there
how bout they select one file from the folder
and then i take that file path
and use that and do a path minus the file name
so it would be some thing like
D:\ssn\photo\usmc\*.*
does that sound right
and then the upload would take every file from there
Ermm No. That won't work.
The problem is how the posting thing works, so it is looking for a form with the multipart/formdata bit, otherwise nada.
Moreover, and I could be mistaken about this, but you can't set a default value to a file input, otherwise I would suggest code that would use FSO to loop through your directory and build the form with the values dynamically.
FtB
Moreover, and I could be mistaken about this, but you can't set a default value to a file input, otherwise I would suggest code that would use FSO to loop through your directory and build the form with the values dynamically.
FtB
You're right fritz, if you do try and set a value it will just blank it out when you submit the form.
ASKER
that might work
i havent worked wit fso in asp
does it work that the same as in vb
let me see some code to get that to work
i havent worked wit fso in asp
does it work that the same as in vb
let me see some code to get that to work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
FtB