how to upload files without FILE input??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jignesh
Forum Newbie
Posts: 4
Joined: Thu Mar 17, 2005 7:06 am

how to upload files without FILE input??

Post by jignesh »

Hello everybody,

i am working on a script that uploads given file list to ftp server.
my problem is that i dont want to provide FILE input, insted i have provided Textarea where one can type file names, now problem is that, if i submit the form my script can not find given file name as it is not submitted by FILE input so...

Can anyone knows how to do this? or how could i specify value (ie filename) in file tag.??
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

jignesh wrote: i dont want to provide FILE input, insted i have provided Textarea where one can type file names, now problem is that, if i submit the form my script can not find given file name as it is not submitted by FILE input so...

Can anyone knows how to do this? or how could i specify value (ie filename) in file tag.??
8O , err.. um. do you have the understanding of the uploading process? how an upload works, how files are submiited to server etc. i think you gotta read up on that.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

A file field is not writable. You can only read the value from it.
Post Reply