MS Word and Internet Transfer Control

M

Mika

Hi,

I have been using MS Internet Transfer Control with Word 97 documents. I
have the following VBA code:

With UserForm1.Inet1
.URL = "ftp://invalid.invalid.invalid"
.UserName = "username"
.Password = "password"
.Execute , "PUT c:\test.txt /home/public_html/test.txt"
End With

This works fine, but do you know other ways which would be more secure?

How about this one...

With UserForm1.Inet1
.URL = "ftp://invalid.invalid.invalid"
.UserName = "username"
.Password = "password"
.Execute , "GET /home/public_html/test.txt c:\test.txt"
End With

How can I make sure that the test.txt will always be latest version of
the file?

Thanks,
Mika
 
M

Malcolm Smith

Mika

When you say 'secure' do you mean by not having the user-name and password
in the code?

I use a better FTP control than the inet. There is a link to one from my
site.

- Malc
www.dragondrop.com
 
M

Mika

When you say 'secure' do you mean by not having the
user-name and password in the code?

Is it possible to use SSH or something else where username/password
would be encrypted?
I use a better FTP control than the inet.

Do you mean "An Improved FTP Upload Script"?

Mika
 
M

Malcolm Smith

No, not that one. That's some script for HomeSite to replace their
diseased upload script; the one you want is on the Coding Tools page.

I take it that you want to the username/password to be encrypted over the
transport rather then by in the code?

- Malc
www.dragondrop.com
 

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

Top