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:"
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,
-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)
>
>
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:
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
___
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.
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.
>
_
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-
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
> 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
...@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
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:
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
.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,
14 matches
Mail list logo