Re: FTP Client

Dave Fancella <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization AT&T Broadband
Message-ID <[email protected]>
Ok, maybe I wasn't clear enough.  :)

mark kaplun wrote:
> "Dave Fancella" <[email protected]> wrote in message
> news:[email protected]...
> 
>>Hi All,
>>
>>Ok, I've looked and looked and looked.
>>
>>I need to build an FTP Client, the old-school gui kind with the two
>>listboxes, one for the local directory and one for the remote.  I have
>>decided to make it a XUL document.  What do I need to be able to hit it
>>with JavaScript?
>>
>>Dave
>>
>>
> The following steps are recomended (IMHO)
>  1. learn javascript ;)

done


>  2. read some basic XML toturial.
done

>  3. get some basic CSS skills

done

>  3. download and install mozilla

done

>  4. read and try the tutorials at www.xulplanet.com

done

>  5. If you are not familiar with the DOM ( Document Object Model) API, it
> might get useful to learn it www.w3.org/DOM

done

> 6.  Address any further XUL questions to the xpfe NG.
> 
Never was sure this was the right group or not.

Specifically, I want to know how I can hit the necessary interface for 
the FTP protocol.  I've gotten closer since my original post.

I've gone through a lot of the Composer .js files looking, but they're 
not well documented, so it's slow going.  (this guy calls this guy who 
calls this guy who calls this guy)

What I need to do, simply, is provide a username and password, connect 
to the ftp server, download a complete list (most everything I've seen 
is a single URI with the ftp:// stuff on there), and be able to compare 
local file date/time to remote file date/time.  And upload files.  A 
basic ftp client, right?  :)

I've determined that the interface is buried in the Necko engine, and 
I've scanned the Necko documentation (didn't take long :)  ).

Originally I was thinking about adding a site view window ala 
dreamweaver to composer, but now I'm thinking of building a completely 
new app instead of building off of composer.  But the ultimate goal is a 
home-grown website tool that beats dreamweaver in any competition. 
Since my migration to Linux, dreamweaver is the tool I've missed the 
most (or, to put it a different way, the only tool I've missed).

So I'll be happy with someone else's ftp client that I can just plug in 
wherever.  :)

Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.