[U2] running ftp from UV (Windows)

2010-09-01 Thread George Gallen
Currently I use something like: (Using Universe under Unix) CMD="ftp -n <="open ":FTPSITE CMD<-1>="user ":FTPUSERNAME:" ":FTPPASSWORD CMD<-1>="passive" CMD<-1>="cd Inbox" CMD<-1>="ls" CMD<-1>="bye" CMD<-1>="EOF" CONVERT CHAR(254) TO CHAR(10) IN CMD EXECUTE "sh -c '":CMD:"

Re: [U2] running ftp from UV (Windows)

2010-09-01 Thread Tony Gravagno
Having written FTP interfaces with MV before (in production use at end-user sites) my recommendation is that you shift to cURL. - It's a high quality utility, - well supported, - does much more than FTP, - adapts to Secure FTP without you having yet again go learn a new utility, - cross-platform,

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread George Gallen
-Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno > Sent: Wednesday, September 01, 2010 10:04 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] running ftp from UV (Windows) > >

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread Jeff Schasny
I'll second Tony on this. I have been using cURL for years whenever I need to send/receive data. The HTTP/HTTPS protocol stuff is especially good because you can manipulate the HTTP headers. I have a couple FTP routines (for a Windows based system but easily adapted for Unix) using cURL here:

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread George Gallen
From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny [jscha...@gmail.com] Sent: Thursday, September 02, 2010 1:47 PM To: U2 Users List Subject: Re: [U2] running ftp from UV (Windows) I'll second Tony on this. I have been

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread Symeon Breen
___ From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny [jscha...@gmail.com] Sent: Thursday, September 02, 2010 1:47 PM To: U2 Users List Subject: Re: [U2] running ftp from UV (Windows) I'll second Tony on this.

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread George Gallen
On Behalf Of Symeon Breen > Sent: Thursday, September 02, 2010 4:08 PM > To: 'U2 Users List' > Subject: Re: [U2] running ftp from UV (Windows) > > Maybe the cmd FOR command will do what you want > > > > > Rgds > Symeon. > _

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread Symeon Breen
r valid values. The %~ syntax is terminated by a valid FOR variable name. Picking upper case variable names like %I makes it more readable and avoids confusion with the modifiers, which are not case sensitive. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread Gregor Scott
Sent: Friday, 3 September 2010 5:00 AM To: U2 Users List Subject: Re: [U2] running ftp from UV (Windows) Using curl is fine, as I can put the usrname/passwd in the command line and not embedded in the batch file. But I'm guessing there isn't anyway to load the input stack like you can

Re: [U2] running ftp from UV (Windows)

2010-09-02 Thread Tony Gravagno
> From:George Gallen > Using curl is fine... > But I'm guessing there isn't anyway to load the input stack > like you can with unix. > From: Gregor Scott > GCI...This would allow you to create an interactive program to > control and react to the Windows FTP command, rather than the > blind exec

Re: [U2] running ftp from UV (Windows)

2010-09-03 Thread Symeon Breen
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: 03 September 2010 07:43 To: u2-users@listserver.u2ug.org Subject: Re: [U2] running ftp from UV (Windows) > From:George Gallen > Using curl is fine... > But I'm guessing there isn't anywa

Re: [U2] running ftp from UV (Windows)

2010-09-03 Thread George Gallen
an additional packet driver to be installed, but I guess I'll find out. George > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Symeon Breen > Sent: Friday, September 03, 2010 4:40 AM > To: &#

Re: [U2] running ftp from UV (Windows)

2010-09-03 Thread George Gallen
om: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Symeon Breen > Sent: Thursday, September 02, 2010 6:42 PM > To: 'U2 Users List' > Subject: Re: [U2] running ftp from UV (Windows) > > The FOR command can take input from a

Re: [U2] running ftp from UV (Windows)

2010-09-03 Thread George Gallen
.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of George Gallen > Sent: Friday, September 03, 2010 9:42 AM > To: U2 Users List > Subject: Re: [U2] running ftp from UV (Windows) > > > My next try will be to compile a PERL program with the Net::FTP module,