|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
upload file system
HELLO EVERYONE
Me and my mate are hoping to design somekind of upload system that allows users to upload files onto a server. We are then hoping to use it on a forum that allows the users to upload their stuff for all to see. Now we have very little programming experience but have been told it can be done easily enough and told that ASP.NET is the best option for beginners. Just wondering if any of you can reccomend and decent books ,web links or even examples that would help us to design this Any help appreciated and thankyou again Last edited by DAREEL : November 16th, 2003 at 09:25 AM. |
|
#2
|
|||
|
|||
|
Answer to how do I upload a file to a server?
Hi Darrell,
Easiest way is to use HTML file/post (a one-liner - my html is a little rusty so just do a quick google search on "file object html upload"). The main problem is that with this method some nasty person could upload anything to your server (e.g., nasty CGI scripts that could wipe out files) - so best to limit the file size/type/text size etc when you are using it. Sorry - just viewed the source of this page with the attach file: section below and this is it - :-) <tr> <td bgcolor="#dedfdf" valign="top"><font face="verdana, arial, helvetica" size="2" ><b>Attach file:</b></font><br> <font face="verdana,arial,helvetica" size="1" >Maximum size: 2097152 bytes</font></td> <td bgcolor="#dedfdf" valign="top"><font face="verdana,arial,helvetica" size="1" ><input type="hidden" name="MAX_FILE_SIZE" value="2097152"> <input type="file" class="bginput" name="attachment"><br> Valid file extensions: gif swf jpg zip php tar gz sit php3 png java jsp asp py zexp xml txt pdf pl txt html shtml htm pm tgz</font></td> </tr> Cheers, neuralSea P.S. you probably have the answer by now anyway but I still hope this helps a little) |
|
#3
|
|||
|
|||
|
This will work in .NET. This is actually a popup window page that wil allow you to choose a local file to upload and then refreshes the parent page once it is closed:
Quote:
__________________
Where are we going and why am I in this handbasket? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > upload file system |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|