On windows you can use the built-in ftp client with a script file.

 

I make use of that in my solution by writing a FTP script file with all the
various commands I need to send (login, cd, get, put, etc). I then write a
custom batch file that executes the FTP client with the parameter to read
the script.

 

I then use Witango external to execute the batch file.

 

As Bill noted, this will consume a thread on the server, which can cause
problems. However, If the Witango thread times out before the FTP transfer
is complete, that's OK in the sense that the transfer will continue in the
background. Not a great user experience, but it gets the job done. I would
move to a Scheduled Task type solution if I needed a more robust processing
model.

 

I'm sure there is other FTP software out there, on the various platforms,
that will solve this problem in a similar way.

 

For a more robust solution, you may want to consider a COM and JAVABEAN
based solution. These will likely cost more, but will have a more seamless
integration. Just make sure you test anything thoroughly, as COMs and BEANs
are hit or miss with Witango now-a-days.

 

Oh, one other thought, other languages such as PHP, ASP, .NET, VBS, etc may
have better FTP implementations. If you are already using one of these, you
may want to consider writing a tool (web-service like) that way, and then
simply calling it from within your Witango app.

 

Robert

 

  _____  

From: Wolf, Gene [mailto:gew...@drs-rsta.com] 
Sent: Friday, April 10, 2009 12:15 PM
To: witango-talk@witango.com
Subject: Witango-Talk: FTP engine

 

   Does anyone know if an FTP client exists that can be driven by Witango? I
have the need to access a file, via FTP, on a remote server and read the
contents and process the information via Witango. I would need to have the
ability to provide the ID and password to the server, get the file, etc.
Anyone know if this is even possible?



________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to