Okay, so let's talk about command line tools and forget about diplaying thumbs. Sorry, I have never tried using/firing command line tools from Witango. Any hints on how to get started with this? Let's say I just want to be able to list the contents (filenames) of a directory via ftp and possibly parse that data out into a text file or an array. I am not sure where to start. Any hints?
p.s. Windows OS... Thanks! _____ From: Robert Garcia [mailto:[email protected]] Sent: Monday, November 22, 2010 2:44 PM To: [email protected] Subject: Re: Witango-Talk: OT - FTP interactions I used to use witango pretty successfully with FTP, but I was using a special FTP server that came with a com object that worked with witango. It was TitanFTP. Another way, is just working with command line tools. Once you get it working, you can make an ftp class with chdir, ls, put, get routines, etc. Thumbnails are going to be a b*tch if you are going to try to to make the thumb represent the content. I would say this is probably NOT doable unless you have an FTP server that does this for you, and you have a webservice to call. If it doesn't, you would have to traverse the site, cache your own thumbs on a regular basis, very prohibitive. A simple way of doing thumbs, is use OS X or windows thumbnails for the TYPES of file that it is. So you just check if its extension is JPG, and use a thumb for that, PDF, you get the idea. Then have a generic FILE thumbnail for all else, and over time you can build up how many extensions you recognize. Good luck! -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 15520 Coutelenc Rd Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 [email protected] - [email protected] http://bighead.net/ - http://eventpix.com/ On Nov 22, 2010, at 6:01 AM, WebDude wrote: This is way off topic, but I have a client who is asking some questions that I am having a hard time answering. I was hoping some of you with more knowledge then I can give me some direction. I see all sorts of probems with this, but am trying to figure out what to say to him. I believe the files he is talking about are pfd files. I would think, first off, that you would need at least to have the directory structure along with filenames loaded into the DB before you could do anything he is asking me to do. In other words, it sounds like he wants to "crawl" the ftp site and load the information into a db. And then just display the files via thumbs, probably clicking them to add to a basket system, etc. Don't shoot me on this, I am just the messenger, but below is what is being asked for word for word from the client... "I have a couple of key questions, one is how can a database interact with a FTP? Could a DB pull thumbnails from an FTP and display them on the web? Could a DB understand from a folder location on a sever what value to assign to it? For example if the DB searched the server for a file, and file's location was in folder 1, could it assign a price to it, if the DB understood all items in folder 1 have a $10 value?" My head hurts. I think he wants to be able to have the client find these files, add them to a basket system, and download them when done. _____ To unsubscribe from this list, please send an email to [email protected] with "unsubscribe witango-talk" in the body. _____ To unsubscribe from this list, please send an email to [email protected] with "unsubscribe witango-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe witango-talk" in the body.
