Re: [Gambas-user] My first rodeo in using the network component
But there has to be a way to do this using gambas objects, at least I would imagine. Of couse, I could use external commands to to get the results I want. Like curl -G url store the output in a string or string[] and work my way off of there. but I was kind of hoping there was a way to do this internally using pure gambas objects/code. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
But it's not even reporting an authentication error... It doesn't even try to connect. All I need it to do is to get me something like the result of curl -G ftp://ftp.some.ftp.site.com/; -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
On Tue, 24 Mar 2009 15:49:15 -0500 M0E.lnx m0e@gmail.com wrote: and since it's anon access, I figured I'd leave the user and pass properties empty. Sure? If I don't err, you should put anonymous as user and your email (or fake email) for password... -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
Even after feeding it user name and passwords, the peek() method returns nothing -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] My first rodeo in using the network component
So i've decided to try out the network component in gambas. I'm trying to get a listing of the contents of an FTP URL so I'm using a FTPclient object. I've set it's .URL and since it's anon access, I figured I'd leave the user and pass properties empty. From what I read in the documentation, I should be able to use it's peek() method and it should return a string. but it's not working... anyone ever done anything like this? -- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
Hi, I don't use the FTP component but I do FTP transfert by building an FTP command file and I use it by the unix command line FTP command. It's not really interactive and It's necessary to analyse the ftp command log result but It work in any case. Olivier Cruilles Mail: linu...@club-internet.fr Le 24 mars 09 à 21:49, M0E.lnx a écrit : So i've decided to try out the network component in gambas. I'm trying to get a listing of the contents of an FTP URL so I'm using a FTPclient object. I've set it's .URL and since it's anon access, I figured I'd leave the user and pass properties empty. From what I read in the documentation, I should be able to use it's peek() method and it should return a string. but it's not working... anyone ever done anything like this? -- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Olivier Cruilles Mail: linu...@club-internet.fr -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
How exactly do you do this? What I need is to get the listing of a FTP directory and analyze it.. I can do that in gambas code, but I thought I could use the net component to get the listing. Would you mind explaining how your method works? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user