Currently I use something like: (Using Universe under Unix)
   CMD="ftp -n <<EOF"
   CMD<-1>="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:"'" CAPTURING JUNK

Is there a way to do this in Windows as well? I could create a file and then
EXECUTE "sh -c 'ftp -s:filename" however, I'd rather not write a file out with 
the username and password

I prefer the unix method (yes I know the username/password is still sent in 
plaintext) but nothing
   gets saved, it's just in memory.

Does it matter which version of windows is running? It's either W2k or NT - I 
don't believe it's windows server


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
[email protected]
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to