I want to create a ftp client like addin for office application
when you finish working on the document you just click addin
button to login and upload to ftp server. when i have multiple
documents open i want to be able to access different ftp server
for each document.
However, since the word application allow one instance to run
I only have one connection for all documents open.
Word running only one instance of WinWord to run need not restrict you from
establishing multiple connections. In fact it doesn't have anything to do
with FTP / connections etc.
1. Create a button : "FTP Document"
2. In the action handler, check if there is a document open (presumably the
user is trying to send the currently open document)
3. If so, present a dialog box for entering details about the FTP server.
4. Connect to the FTP Server and upload the document.
This way you don't need to maintain an active connection to the FTP
Server(s) throughout the lifetime of the document.
Hope this helps.
S.Vidyaraman