1. project idea?

Okay....with my euphoria site, I've minimized the amount of work I need
to do (in other words, I do things the lazy way =) by using a heavily
edited version of doc.ex html parser program, and a batch file to do all
the dirty work....make the .htm files from the .htx files, copy the
files to a new dir, and upload them automatically, using ftp.exe

My little idea, is to create something like that with an auto ftp upload
feature built in.  I'd love to try to take on the project myself, but
writing some kind of ftp program in Euphoria is beyond me.

Anyways, just an idea,
Greg

--
Greg Phillips
i.shoot at rednecks.com
http://euphoria.server101.com
--

Useless fact of the day:

Polar bears are left handed.

new topic     » topic index » view message » categorize

2. Re: project idea?

>Okay....with my euphoria site, I've minimized the amount of work I need
>to do (in other words, I do things the lazy way =) by using a heavily
>edited version of doc.ex html parser program, and a batch file to do all
>the dirty work....make the .htm files from the .htx files, copy the
>files to a new dir, and upload them automatically, using ftp.exe


Well, I myself too have written my own parser (and am working on another,
but first botmatch needs to eh.. more finished.. though the new Neil seems
to work fine, no more glitches, all color depths all work ok, etc. ...  ).
That parser takes a directory, sets a few variables based upon that
directory (it will set one to the contents, if it exists, of info.txt) etc.
which can be used by a template. The reason behind this too, was completely
lazyness. I can now simply drop an .url out of 'Favorites' into a directory,
run webgen.ex and im done adding a new link.

Automatic uploading was another thing I would love to see happen. But the
reason I made that proggie was 1 - Im lazy 2 - I wanted to be able to update
my site often without too much hassle. Maybe afterwards I'll look into it.
Or any of the EuServer ppl wants to tackle it. Otherwise when I *try* it,
i'll keep generic enough for other apps and programs (like yours) to be able
to use it.

>My little idea, is to create something like that with an auto ftp upload
>feature built in.  I'd love to try to take on the project myself, but
>writing some kind of ftp program in Euphoria is beyond me.


And besides that, why not try to take it on. I think I learned the most from
those projects that were in my eyes way beyond my scope as well. And
allthough you never finish them, you usually come a long way, and sometimes
(accidents happen blink all the way. What I mean is,
there are a lot of resources out there. If you have the time, you might just
wanne try it, to see if you can do it yourself.

Ralf

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

3. Re: project idea?

At 12:04 a.m. 18-12-98 , you wrote:
>Okay....with my euphoria site, I've minimized the amount of work I need
>to do (in other words, I do things the lazy way =) by using a heavily
>edited version of doc.ex html parser program, and a batch file to do all
>the dirty work....make the .htm files from the .htx files, copy the
>files to a new dir, and upload them automatically, using ftp.exe
>
>My little idea, is to create something like that with an auto ftp upload
>feature built in.  I'd love to try to take on the project myself, but
>writing some kind of ftp program in Euphoria is beyond me.
>
>Anyways, just an idea,
>Greg


Take a look at a program I posted some time ago to RDS. It's called EUFTP.
Here's a direct link to download it:

ftp://ftp27.pair.com/pub/daber/euftp01.zip

I'm sure you'll be able to understand what it does and how to modify it to
upload or
download whatever you want.


Regards,
        Daniel   Berstein
        daber at pair.com

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

4. Re: project idea?

> Take a look at a program I posted some time ago to RDS. It's called EUFTP.
> Here's a direct link to download it:
>
> ftp://ftp27.pair.com/pub/daber/euftp01.zip
>
> I'm sure you'll be able to understand what it does and how to modify it to
> upload or
> download whatever you want.
>
> Regards,
>         Daniel   Berstein
>         daber at pair.com

 I took a good look at it, and at first, it was just a complete mess, to me,
but I think now, with enough experimentation, and testing I can maybe adapt
this to my needs.  Thanks!

Oh, I think I know the answer to this question, but if it's a console app,
that uses a windows .dll, it has to be interpreted using exw, right?

Thanks,
Greg
--
Greg Phillips
i.shoot at rednecks.com
http://euphoria.server101.com
--

Useless fact of the day:

A gorilla's penis is 1/3 the length of that of a humans.

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

5. Re: project idea?

At 04:53 p.m. 18-12-98 , you wrote:
>> Take a look at a program I posted some time ago to RDS. It's called EUFTP.
>> Here's a direct link to download it:
>>
>> ftp://ftp27.pair.com/pub/daber/euftp01.zip
>>
>> I'm sure you'll be able to understand what it does and how to modify it to
>> upload or
>> download whatever you want.
>>
>> Regards,
>>         Daniel   Berstein
>>         daber at pair.com
>
> I took a good look at it, and at first, it was just a complete mess, to me,
>but I think now, with enough experimentation, and testing I can maybe adapt
>this to my needs.  Thanks!

The implementation might be messy (was my first win32 app), but the concept
is very simple. All the work (establishing connection, transfering files,
etc) is
held by the external functions in wininet.dll. At microsoft's workshop website
is a complete reference to the wininet routines. If you need assitance please
email me, I'll be glad to help.

>Oh, I think I know the answer to this question, but if it's a console app,
>that uses a windows .dll, it has to be interpreted using exw, right?

Yes. In fact, exw.exe is a console application it self. A WIN32 application
will
only become "windowed" if you explicitly create a window (by yourself, with
win32lib, or with VE).


Regards,
        Daniel   Berstein
        daber at pair.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu