Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / March 2007



Tip: Looking for answers? Try searching our database.

file uploading via web browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Santa Claus - 27 Mar 2007 11:51 GMT
this may not be an appropriate place to ask but does anybody have a
pre-made library or routine to download a file from a user?

i'm writing a file upload routine to be installed into my
cgi-executables folder temporarily for somebody in alaska to send me a
lot of scenery pictures from there (including one of a moose as tall as
a house in somebody's back yard).  i already wrote the c routines to
interface with the web but don't know how to upload the actual file.
David Phillip Oster - 27 Mar 2007 16:41 GMT
> this may not be an appropriate place to ask but does anybody have a
> pre-made library or routine to download a file from a user?
[quoted text clipped - 4 lines]
> a house in somebody's back yard).  i already wrote the c routines to
> interface with the web but don't know how to upload the actual file.

Not the right forum, but do a little Google research for <form>s that
have an appropriate pair of tags, one to implement a file selector
button and one to method=POST the file.

This page, for example:
http://www.tizag.com/phpT/fileupload.php
which says:
<form enctype="multipart/form-data" action="myuploadercgi" 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>

You can catch the file that the browser sends using any appropriate CGI,
not just PHP.
D. Kirkpatrick - 27 Mar 2007 19:53 GMT
> this may not be an appropriate place to ask but does anybody have a
> pre-made library or routine to download a file from a user?
[quoted text clipped - 4 lines]
> a house in somebody's back yard).  i already wrote the c routines to
> interface with the web but don't know how to upload the actual file.

Try :  http://www.yousendit.com/

Also:  http://www.gigasize.com/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.