Re: LibURL Puzzlement

2009-05-13 Thread Tereza Snyder
On May 13, 2009, at 7:23 AM, Dave Cragg wrote: On 12 May 2009, at 22:04, Tereza Snyder wrote: I tried: get libUrlFtpCommand( pCmd, the uServer of me, the uUser of me, the uPasswd of me ) where pCmd is "LIST" or "NLIST" or "NLST" or "LS" and all yield error messages. I know you got

Re: LibURL Puzzlement

2009-05-13 Thread Dave Cragg
On 12 May 2009, at 22:04, Tereza Snyder wrote: I tried: get libUrlFtpCommand( pCmd, the uServer of me, the uUser of me, the uPasswd of me ) where pCmd is "LIST" or "NLIST" or "NLST" or "LS" and all yield error messages. I know you got an answer to how to get a directory listing. Bu

Re: LibURL Puzzlement : unpuzzled!

2009-05-12 Thread Tereza Snyder
On May 12, 2009, at 4:35 PM, Jim Bufalini wrote: It's as simple as: Put "ftp://"; & & ":" & & "@" & & into myDirVar NLST or LIST first will determine if you get just the file and directory names or the long form. This persists beyond the handler, so set it back at the end of your

RE: LibURL Puzzlement

2009-05-12 Thread Jim Bufalini
Hi Terry, It's as simple as: Put "ftp://"; & & ":" & & "@" & & into myDirVar NLST or LIST first will determine if you get just the file and directory names or the long form. This persists beyond the handler, so set it back at the end of your handler. Make sure you path ends with "/" and no

Re: LibURL Puzzlement

2009-05-12 Thread Tereza Snyder
On May 12, 2009, at 4:08 PM, Richard Gaskin wrote: Tereza Snyder wrote: I'm using libUrl for the first time, and my first task is to obtain a list of files in a directory on the server. In terminal, I can log onto the server via ftp and I can type 'nlist' or 'ls' to obtain a list of fi

Re: LibURL Puzzlement

2009-05-12 Thread Richard Gaskin
Tereza Snyder wrote: I'm using libUrl for the first time, and my first task is to obtain a list of files in a directory on the server. In terminal, I can log onto the server via ftp and I can type 'nlist' or 'ls' to obtain a list of files. I see in the docs that, "You specify which command