1. Upload Application

Hi all,

I want to build a Windows Application that would allow a user to select a
file from their computer and upload it to the web.

For example:

The user opens this program selects a jpeg from their computer and then
clicks an upload button. and presto the file is uploaded to the website.

I do not want to use FTP because this requires telnet/ftp accounts I am
looking to build something more like the CGI scripts that let anyone upload
a file to your server...except I want it to be a windows app instead of a
HTML page driven by CGI.

Any ideas where to start?

-Jeremy

new topic     » topic index » view message » categorize

2. Re: Upload Application

FTP is not a kind of account.   It is the File Transfer Protocol.   It is
one way to transfer file data across the Internet, whether from a program
like a browser or from a CGI program (written in PERL or C for example).

CGI does NOT have to be involved with an HTML page.   CGI will write HTML to
the client's machine if you wish (for a dynamically created page) but CGi
and HTML are two different things.

Cheers!

--Warren


> Hi all,
>
> I want to build a Windows Application that would allow a user to select a
> file from their computer and upload it to the web.
> I do not want to use FTP because this requires telnet/ftp accounts I am
> looking to build something more like the CGI scripts that let anyone
upload
> a file to your server...except I want it to be a windows app instead of a
> HTML page driven by CGI.
>
> Any ideas where to start?
>
> -Jeremy

new topic     » goto parent     » topic index » view message » categorize

3. Re: Upload Application

----- Original Message -----
From: Alyne & Warren <WCBaker at HOME.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, November 16, 1999 11:15 AM
Subject: Re: Upload Application


> FTP is not a kind of account.   It is the File Transfer Protocol.   It is
> one way to transfer file data across the Internet, whether from a program
> like a browser or from a CGI program (written in PERL or C for example).
>
> CGI does NOT have to be involved with an HTML page.   CGI will write HTML
to
> the client's machine if you wish (for a dynamically created page) but CGi
> and HTML are two different things.

Right, i do an ftp interface that looks like html (cause it is), and i send
and recieve html with a language that never heard of cgi or html (i'm not
good enough at Eu to do it in Eu yet). But then, i know the reciever is html
compliant, cause it asks for html. Doesn't windoze already come with an ftp
upload program? Look in your windoze directory... errrr... "folder".

Kat

> Cheers!
>
> --Warren
>
>
> > Hi all,
> >
> > I want to build a Windows Application that would allow a user to select
a
> > file from their computer and upload it to the web.
> > I do not want to use FTP because this requires telnet/ftp accounts I am
> > looking to build something more like the CGI scripts that let anyone
> upload
> > a file to your server...except I want it to be a windows app instead of
a
> > HTML page driven by CGI.
> >
> > Any ideas where to start?
> >
> > -Jeremy
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: Upload Application

Jeremy,

If you don't want to use FTP or HTML, I suggest you check out the Windows
internet transfer controls (WinINET).  You should be able to find out all
you need to know and more at http://msdn.microsoft.com.

Brian

On Tue, 16 Nov 1999 10:09:32 -0400, Jeremy Foster <jeremy at CANADIANLEAF.COM>
wrote:

>Hi all,
>
>I want to build a Windows Application that would allow a user to select a
>file from their computer and upload it to the web.
>
>For example:
>
>The user opens this program selects a jpeg from their computer and then
>clicks an upload button. and presto the file is uploaded to the website.
>
>I do not want to use FTP because this requires telnet/ftp accounts I am
>looking to build something more like the CGI scripts that let anyone upload
>a file to your server...except I want it to be a windows app instead of a
>HTML page driven by CGI.
>
>Any ideas where to start?
>
>-Jeremy

new topic     » goto parent     » topic index » view message » categorize

5. Re: Upload Application

On Tue, 16 Nov 1999, you wrote:
> Hi all,
>
> I want to build a Windows Application that would allow a user to select a
> file from their computer and upload it to the web.
>
> For example:
>
> The user opens this program selects a jpeg from their computer and then
> clicks an upload button. and presto the file is uploaded to the website.
>
> I do not want to use FTP because this requires telnet/ftp accounts I am
> looking to build something more like the CGI scripts that let anyone upload
> a file to your server...except I want it to be a windows app instead of a
> HTML page driven by CGI.
>
> Any ideas where to start?

First of all, allowing users to upload a file does _not_ require a telnet or ftp
account on the part of the sender. Just set up an "incoming" directory on your
website and make it publicly writable. Sending the file will require use of an
ftp client, some browsers can do that., or with a _lot_ of work, you could
write a program that uses Winsock and the ftp protocol.

Of course, to get the uploaded file to show up on a web page, you'll also need
a way to include a reference to that file in your html. That brings us back to
CGI.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu