I use TitanFTP, because it has SFTP and FTP-SSL, I don't use regular FTP. It has the ability to be controlled remotely with command line. So you don't even have to be on same server, so my entire witango cluster could send commands to the titan server.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[email protected] - [email protected]
http://bighead.net/ - http://eventpix.com/

On Apr 10, 2009, at 11:02 AM, Robert Shubert wrote:

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:[email protected]]
Sent: Friday, April 10, 2009 12:15 PM
To: [email protected]
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


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

Reply via email to