Robyn Posted May 11, 2013 Share Posted May 11, 2013 I was trying to use the FTP functions. They work fine for a basic application where I know the file name on the remote server. However, what happens if I don't know the exact file name or I know only part of it and I need to find the exact name to put into FTP.strRemoteFile? What if I want to search the files that are there to find the latest one by date? I would appreciate your help here. Until I can get a bit more flexibilty in what I am trying to do I am stuck Thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted May 13, 2013 Share Posted May 13, 2013 DAQFactory was never designed to be a full FTP client. It simply does upload and download and does not offer any sort of directory retrieval or the like as you describe. For that, I would consider trying to use system.shellExecute() to run the command line ftp program, piping the result to a text file that you could the read using the File. functions. It wouldn't be super easy, but is probably do-able if you are reasonably comfortable at writing code. Link to comment Share on other sites More sharing options...
Robyn Posted June 20, 2013 Author Share Posted June 20, 2013 I have just started to use Webdrive, http://www.webdrive.com/products/webdrive/index.html it maps my ftp directory to a drive on my PC and DF seems to be able to handle that fine. This gives me access to all the normal file functions and I don't have to consider ftp at all, except for setting up Webdrive Link to comment Share on other sites More sharing options...
AzeoTech Posted June 21, 2013 Share Posted June 21, 2013 Cool, thanks for the posting the link. Looks like an interesting product. Plus you can use sFTP or other more secure protocol instead of the open text FTP. I wonder why the Mac version of that product is so much cheaper than the PC version? Link to comment Share on other sites More sharing options...
Robyn Posted June 28, 2013 Author Share Posted June 28, 2013 There is also another product Netdrive http://www.netdrive.net/ which is not quite as polished but does work for me with DAQF and has a free version for non commercial use Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.