IT Community - Software Programming, Web Development and Technical Support

file uploading?

This is a discussion on file uploading? within the Java Server Pages (JSP) forums, part of the Web Development category; how can i upload a file or multiple file? i need to upload alll kind of files like images, pdf ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Java Server Pages (JSP)

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 03-21-2008, 03:08 AM
saravanan saravanan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 180
saravanan is on a distinguished road
Default file uploading?

how can i upload a file or multiple file?
i need to upload alll kind of files like images, pdf files word files and so on,
after i uploaded i need to redirect to a page that page should display all files which are i uploded previously.
i need to click a file name and open the file in the browse. how can i do this task?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 09-30-2008, 02:28 AM
jackspar jackspar is offline
D-Web Trainee
 
Join Date: Sep 2008
Posts: 7
jackspar is on a distinguished road
Default Re: file uploading?

The opposite operation, to upload, is to send data from a local system to a remote system, FTP server, or website. For example, "Uploading a video to Wikipedia" means sending a video to the website. The difference between uploading and downloading is downloading means to receive and uploading means to send.

__________
jackspar.

Last edited by arjkhanna : 09-25-2009 at 11:07 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-03-2008, 05:50 AM
kiranzcontent kiranzcontent is offline
D-Web Trainee
 
Join Date: Oct 2008
Posts: 3
kiranzcontent is on a distinguished road
Default Re: file uploading?

THanks for the info bro......Congos

Last edited by arjkhanna : 09-25-2009 at 11:06 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-19-2008, 11:50 PM
sakari sakari is offline
D-Web Trainee
 
Join Date: Sep 2008
Posts: 27
sakari is on a distinguished road
Default Re: file uploading?

what lang you used for web designing?
html code
Quote:
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>
php code
Quote:
// Where the file is going to be placed
$target_path = "uploads/";

/* Add the original filename to our target path.
Result is "uploads/filename.extension" */
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
read more

hope it will help.
thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
uploading and streaming video in asp.net 2.0 application hareram ASP and ASP.NET Programming 4 02-05-2009 07:12 PM
Help with uploading a summer vacation video to website Shirley1874 Flash Actionscript Programming 2 10-13-2008 10:05 PM
Uploading in PHP sureshbabu PHP Programming 1 08-22-2008 03:10 AM
Preview Image before Uploading File to Server velhari HTML, CSS and Javascript Coding Techniques 1 11-12-2007 09:21 PM
Uploading Multiple Files in ASP.NET. H2o ASP and ASP.NET Programming 3 08-08-2007 05:39 AM


All times are GMT -7. The time now is 01:02 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0