FTP documents

E

Ed

What is the 'trick' to opening a document saved on an FTP server?

I have the password, etc., but not the VBA coding to make it happen. (When I
record the steps with the macro recorder, and upon successfully opening the
remote document I get the following (edited):

ChangeFileOpenDirectory ftp://ftp.myhost.com/htdocs/ShareDoc/
Documents.Open FileName:= _
"ftp://ftp.myhost.com/htdocs/ShareDoc/MyDocument.doc", _
ConfirmConversions:=True, ReadOnly:=False, AddToRecentFiles:=False,
_
PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _
wdOpenFormatAuto, XMLTransform:=""

When I close out Word and then run this above, I get only an error that the
file cannot be found.

When I recall the document from the Recent Used Files list (under 'Files') I
get an FTP logon dialog (this seems to be the missing key), but I cannot
figure out how to get to that. Is it accessible via VBA?

What am I missing?

Ed
 
W

Word Heretic

G'day "Ed" <[email protected]>,

I normally run FTP in batch until successful and THEN process my end
result. Maybe another group cause this is Word, not FTP?

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Ed reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Saving Files 2
Macro to Call Template and Save Doc 3
Counting Merged Records 1
Printer not there 1
Display of folder on FTP site 2
mailmerge recorded macro 0
macro runtime error 1
4198 debug 0

Top