Re: libURLftpCommand help required please....
Hi Mark. Just tried that and it does not make any difference either way. Thanks for the idea though..best, Bob... On Mon, 24 May 2010 18:34:51 +0200 Mark Schonewille wrote:-Hi Bob, - -Have you set the FTP mode to passive? Look up libUrlSetFtpMode in the -dictionary. - --- -Best regards, -Mark Schonewille _ Win $10,000 from Hotmail! Enter Here. http://go.microsoft.com/?linkid=9729708___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLftpCommand help required please....
Dave- Monday, May 24, 2010, 10:39:11 AM, you wrote: > It returns: > 257 "/" is your current location Yep - works here, too, as does the "HELP" command (returns a 214) -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLftpCommand help required please....
On 24 May 2010, at 17:11, Bob Earp wrote: > > Many thanks for the replies on this.Mark/Jim - I've played around with > quotes/no quotes, changing the address elements to include ftp.ashford.ca, > httP://ashford.ca and combinations thereof, but I still get the error message > "error invalid host address". I'm using Rev Enterprise v4.0.0 build 950 > BTW.If it helps, I do get stuff returned without and error if I use put url > "http://test:myt...@ashford.ca"; into fld "results"Dave - It wasn't the LIST > ftp command I was after, I just used that as an example of an ftp command > that (I assumed) the libURLftpCommand would do as it seems to say that in the > dictionary. Using PWD as a sample command, this works here: put libURLftpCommand("PWD","ashford.ca","t...@ashford.ca","myTest") into fld "results" It returns: 257 "/" is your current location Dave___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLftpCommand help required please....
Hi Bob, Have you set the FTP mode to passive? Look up libUrlSetFtpMode in the dictionary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 24 mei 2010, at 18:11, Bob Earp wrote: Many thanks for the replies on this.Mark/Jim - I've played around with quotes/no quotes, changing the address elements to include ftp.ashford.ca , httP://ashford.ca and combinations thereof, but I still get the error message "error invalid host address". I'm using Rev Enterprise v4.0.0 build 950 BTW.If it helps, I do get stuff returned without and error if I use put url "http://test:myt...@ashford.ca"; into fld "results"Dave - It wasn't the LIST ftp command I was after, I just used that as an example of an ftp command that (I assumed) the libURLftpCommand would do as it seems to say that in the dictionary. I also tried HELP as the dictionary suggests, but I still get the same error. What I want to do in the end is read & seta file permission on the server. Right now there is one file named test.txt on that URL that has RW set, and of course you can see it at www.ashford.ca/testFYI, it is put libURLftpCommand("HELP","ashford.ca","t...@ashford.ca","myTest") into fld "results" that gives me the "error invalid host address" message, yet in an ftp client such as FileZilla I can use ashford.ca as the host address, t...@ashford.ca as the username, and myTest as the password, and it all works fine.Thanks again for the feedback & help.best, Bob...Bob Earp - White Rock, British Columbia ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: libURLftpCommand help required please....
Many thanks for the replies on this.Mark/Jim - I've played around with quotes/no quotes, changing the address elements to include ftp.ashford.ca, httP://ashford.ca and combinations thereof, but I still get the error message "error invalid host address". I'm using Rev Enterprise v4.0.0 build 950 BTW.If it helps, I do get stuff returned without and error if I use put url "http://test:myt...@ashford.ca"; into fld "results"Dave - It wasn't the LIST ftp command I was after, I just used that as an example of an ftp command that (I assumed) the libURLftpCommand would do as it seems to say that in the dictionary. I also tried HELP as the dictionary suggests, but I still get the same error. What I want to do in the end is read & seta file permission on the server. Right now there is one file named test.txt on that URL that has RW set, and of course you can see it at www.ashford.ca/testFYI, it is put libURLftpCommand("HELP","ashford.ca","t...@ashford.ca","myTest") into fld "results" that gives me the "error invalid host address" message, yet in an ftp client such as FileZilla I can use ashford.ca as the host address, t...@ashford.ca as the username, and myTest as the password, and it all works fine.Thanks again for the feedback & help.best, Bob...Bob Earp - White Rock, British Columbia _ 30 days of prizes to be won with Hotmail. Enter Here. http://go.microsoft.com/?linkid=9729709___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLftpCommand help required please....
On 22 May 2010, at 20:38, Bob Earp wrote: > > I'm trying to send an ftp command to a site, and being a neophyte at these > things I'm not having much success. This is what I'm using, what's wrong > with it ? > put libURLftpCommand("LIST",ashford.ca,t...@ashford.ca,"myTest") into fld > "results" Bob, you won't be able to get LIST to work like this. libURLftpCommand sends ftp commands through the ftp command connection. But the actual listing data is transferred over a separate data connection. This requires opening a separate socket after you get a response to the LIST command. However, you don't need to do that. A simple "get url" to a directory on an ftp server actually performs a LIST command for you. So something like this: put url "ftp://myname:mypassw...@my.server.com/images/"; into tListData Cheers Dave___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: libURLftpCommand help required please....
And fourth, which version of Rev are you using? Aloha from Hawaii, Jim Bufalini Mark Schonewille wrote: > Hi Bob, > > First of all, we'll need to know the result or any errors that occur. > Second, it seems that you forgot a few quotes: > > put libURLftpCommand("LIST","ashford.ca","t...@ashford.ca","myTest") > into fld "results" > > and third the address almost always consists of 3 elements, e.g. > ftp.ashford.ca > . > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new projects. Contact me for a > quote http://economy-x-talk.com/contact.html > Download Clipboard Link http://clipboardlink.economy-x-talk.com and > share the clipboard of your computer over the local network. > > On 22 mei 2010, at 21:38, Bob Earp wrote: > > > > > I'm trying to send an ftp command to a site, and being a neophyte at > > these things I'm not having much success. This is what I'm using, > > what's wrong with it ? > > put libURLftpCommand("LIST",ashford.ca,t...@ashford.ca,"myTest") > > into fld "results" > > The example above is using LIST as the ftp command, ashford.ca as > > the host address, t...@ashford.ca is the username and myTest is the > > password. If I use the same parameters in FileZilla all works OK. > > Yes, these are all real parameters, at least until I get things > > going and delete the ftp site ;-) > > Eventually I'm hoping to read & write permissions of a file in that > > location. When I finally get things going I promise I'll share a > > sample app that demos how this all works, for anybody who is > > interested. Then again, maybe there is one already out there > > somewhere ? > > Many thanks in advance, Bob... > > Bob Earp - White Rock, British Columbia > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLftpCommand help required please....
Hi Bob, First of all, we'll need to know the result or any errors that occur. Second, it seems that you forgot a few quotes: put libURLftpCommand("LIST","ashford.ca","t...@ashford.ca","myTest") into fld "results" and third the address almost always consists of 3 elements, e.g. ftp.ashford.ca . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 22 mei 2010, at 21:38, Bob Earp wrote: I'm trying to send an ftp command to a site, and being a neophyte at these things I'm not having much success. This is what I'm using, what's wrong with it ? put libURLftpCommand("LIST",ashford.ca,t...@ashford.ca,"myTest") into fld "results" The example above is using LIST as the ftp command, ashford.ca as the host address, t...@ashford.ca is the username and myTest is the password. If I use the same parameters in FileZilla all works OK. Yes, these are all real parameters, at least until I get things going and delete the ftp site ;-) Eventually I'm hoping to read & write permissions of a file in that location. When I finally get things going I promise I'll share a sample app that demos how this all works, for anybody who is interested. Then again, maybe there is one already out there somewhere ? Many thanks in advance, Bob... Bob Earp - White Rock, British Columbia ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution