Page 1 of 1

Uploading files without User actions

Posted: Wed Jul 19, 2006 11:45 am
by ADTRAN
Hi, I've written a script that so far uses files located on the server, but this was for testing purposes only. For the final version, I need the script to pull files off the user's computer.

I know what these files will be named and where they will be located, and I was just wondering if (for convenience on the user's part) these files could be uploaded automatically, or do I have to use a form which they submit? Thanks.

Posted: Wed Jul 19, 2006 11:58 am
by Burrito
to upload from a client machine, use a web form you must.

alternates there are (flash, activex, java applets), but write your own you must.

Posted: Wed Jul 19, 2006 12:00 pm
by ADTRAN
Can I make a form that takes multiple files?

Posted: Wed Jul 19, 2006 12:03 pm
by Burrito
ADTRAN wrote:Can I make a form that takes multiple files?
yes...

but select the files individually the user must.

take a look here: viewtopic.php?t=30375

Posted: Wed Jul 19, 2006 1:39 pm
by ADTRAN
Last question, I think:

Is there a way to have predetermined text already in the submission field? I know that, if it were there, it would be changeable, and that's fine. Nobody would want to change it anyway...

I tried assigning a value to the field and that was a flop...

Many thanks

Posted: Thu Jul 20, 2006 11:59 pm
by feyd
file fields cannot be prefilled without external (not native to the browser) help. i.e. Javascript, nor HTML can specify the file referenced.

Posted: Fri Jul 21, 2006 6:33 am
by litebearer
There are times to think outside the box.

From your original post, you desire to automatically transfer files from client's computer to the server. Question is how do accomplish this task with no user action.

And the answer is .......................

http://www.primasoft.com/ftp.htm


Lite...