1. library for FTP connections
- Posted by sergelli Aug 18, 2009
- 1438 views
I need a library for FTP connections, but those that exist in the section on contributions from users are not working, has many bugs and the main functions do not work.
After reading much about it, it seems that I have to learn how to use the wininet.dll file, from almost the beginning.
But for me it is almost impossible ... I do not understand anything of how to make a dll function work, from just the function name.
I want to know if anyone can help Thanks in advance.
2. Re: library for FTP connections
- Posted by mic_ Aug 19, 2009
- 1397 views
You can try adding {"flags","PASSIVE"} to the options list when calling InternetConnect.
3. Re: library for FTP connections
- Posted by jeremy (admin) Aug 19, 2009
- 1365 views
If anyone wishes, 4.0 has a built-in socket interface that is cross-platform. It would be great to have a net/ftp.e include that implements the FTP protocol, even if only the basics.
Jeremy
4. Re: library for FTP connections
- Posted by ghaberek (admin) Aug 19, 2009
- 1315 views
If anyone wishes, 4.0 has a built-in socket interface that is cross-platform. It would be great to have a net/ftp.e include that implements the FTP protocol, even if only the basics.
Is there (or should there be) a corresponding net/http.e library? I'm not sure how much free time I have, but I have spent many a night constructing FTP and HTTP protocols by hand.
-Greg
5. Re: library for FTP connections
- Posted by jeremy (admin) Aug 19, 2009
- 1342 views
Is there (or should there be) a corresponding net/http.e library? I'm not sure how much free time I have, but I have spent many a night constructing FTP and HTTP protocols by hand.
Greg,
There is a net/http.e. It could use a little clean up as it relies on external variables for state information, but it supports GET/POST requests. There is a method that is commented out that also supports GET/POST with a cookie.
In the end, it would be nice to have:
net/http.e net/smtp.e net/pop3.e net/imap.e net/ftp.e net/time.e
but, it'll take a little time to get that far.
Jeremy
6. Re: library for FTP connections
- Posted by sergelli Aug 19, 2009
- 1286 views
If anyone wishes, 4.0 has a built-in socket interface that is cross-platform. It would be great to have a net/ftp.e include that implements the FTP protocol, even if only the basics.
Jeremy
hi Jeremy
Please read, my answer more fully, is in new tópic "Using the 'FtpCommand' of wininet.dll"
7. Re: library for FTP connections
- Posted by useless Aug 19, 2009
- 1250 views
Is there (or should there be) a corresponding net/http.e library? I'm not sure how much free time I have, but I have spent many a night constructing FTP and HTTP protocols by hand.
Greg,
There is a net/http.e. It could use a little clean up as it relies on external variables for state information, but it supports GET/POST requests. There is a method that is commented out that also supports GET/POST with a cookie.
In the end, it would be nice to have:
net/http.e net/smtp.e net/pop3.e net/imap.e net/ftp.e net/time.e
but, it'll take a little time to get that far.
Jeremy
I disagree, it will take a lot of time arguing about how it's done than any actual code writing.
useless
8. Re: library for FTP connections
- Posted by mic_ Aug 20, 2009
- 1240 views
Why would there be any special arguing over network libraries compared to everything else that can be (and has been) done? (and no, my question does not prove your point, as I'm arguing about arguing. So it's a meta argument.)
9. Re: library for FTP connections
- Posted by m_sabal Aug 20, 2009
- 1224 views
I just loaded a stub file with some FTP routines to recent user contributions. It should show up in an hour or two. It will have to be reworked slightly for your own project, but the basic functionality is there. If anyone feels like reformatting it to work in the standard library, be my guest.
10. Re: library for FTP connections
- Posted by jeremy (admin) Aug 20, 2009
- 1250 views
I just loaded a stub file with some FTP routines to recent user contributions. It should show up in an hour or two. It will have to be reworked slightly for your own project, but the basic functionality is there. If anyone feels like reformatting it to work in the standard library, be my guest.
Does it use 4.0's sockets?
Jeremy
11. Re: library for FTP connections
- Posted by useless Aug 20, 2009
- 1232 views
Why would there be any special arguing over network libraries compared to everything else that can be (and has been) done? (and no, my question does not prove your point, as I'm arguing about arguing. So it's a meta argument.)
I wasn't saying arguing over anything in network libraries is different.
My pov is that just this year i have downloaded over 5 million files the way i argued was ok, with no problems, and i was the bad one and my code wasn't acceptable. I was <spit> spoofing</spit> and evil. But look in the network code released with Eu4, in http.e, and Eu reports it is Internet Explorer(tm) by default!
And along with that, the passive "someone asked you be banned" from irc channel #Euphoria, because my isp disconnects me if there's any lightning in the area. So don't ask me for upgrading irc.e to Eu4 when i am not even allowed to use the Eu irc channel. Despite it working great for many years, i'm sure the irc code is disgusting and evil and will get me banned from somewhere else if i submit it.
Ditto translating the mirc code to email.e, or mud/mush.e, i don't need the arguing. I feel the entire eu dev community flipped a loaded coin and came down against me on http.e: no don't spoof the referer, but let's spoof the user-agent!
useless, by popular request.
12. Re: library for FTP connections
- Posted by jeremy (admin) Aug 20, 2009
- 1233 views
Ditto translating the mirc code to email.e, or mud/mush.e, i don't need the arguing. I feel the entire eu dev community flipped a loaded coin and came down against me on http.e: no don't spoof the referer, but let's spoof the user-agent!
Hm, I forgot that was in there, thanks. I'll fix it.
Jeremy
13. Re: library for FTP connections
- Posted by useless Aug 20, 2009
- 1180 views
Ditto translating the mirc code to email.e, or mud/mush.e, i don't need the arguing. I feel the entire eu dev community flipped a loaded coin and came down against me on http.e: no don't spoof the referer, but let's spoof the user-agent!
Hm, I forgot that was in there, thanks. I'll fix it.
Jeremy
/me looks around all confused and tilty-headed.
useless, still.
14. Re: library for FTP connections
- Posted by m_sabal Aug 21, 2009
- 1092 views
I just loaded a stub file with some FTP routines to recent user contributions. It should show up in an hour or two. It will have to be reworked slightly for your own project, but the basic functionality is there. If anyone feels like reformatting it to work in the standard library, be my guest.
Does it use 4.0's sockets?
Jeremy
I wrote it off eunet, before the standard library started to come together. It will have to be modified for 4.0. It will probably have to be modified no matter what, since it wasn't written as a library.