Hi I am trying to upload flash files to the webserver using input type file.
the file I am uploading is a flash file and there are two parts to the file, the .swf and .flv
I can upload the files by having two input boxes and then uploading no problem, but I am looking for a way where the user selects the .swf file to upload and the site can upload the .swf and the .flv file at the same time. The files have the same name, so tried to do a substr of the file but the copy method will only upload files that have been passed from a form. The next thing I tried was having a disabled input with a bit of java to fill the input depending on what the user put in the first input. but still nothing.
is there a way of uploading a file without it being passed from a input
thanks in advance
the file I am uploading is a flash file and there are two parts to the file, the .swf and .flv
I can upload the files by having two input boxes and then uploading no problem, but I am looking for a way where the user selects the .swf file to upload and the site can upload the .swf and the .flv file at the same time. The files have the same name, so tried to do a substr of the file but the copy method will only upload files that have been passed from a form. The next thing I tried was having a disabled input with a bit of java to fill the input depending on what the user put in the first input. but still nothing.
is there a way of uploading a file without it being passed from a input
thanks in advance