M
Mika
Hi all,
This uses msinet.ocx and I have installed it successfully.
PolkuTiedosto = "D:\Projects\My project\test.html"
Polku = "/public_html/"
Tiedosto = "test.html"
UserForm1.Password = "ok"
FileNum = FreeFile
Open PolkuTiedosto For Output As #FileNum
Print #FileNum, "text"
Close #FileNum
UserForm1.Inet1.Execute , "PUT " & Chr$(34) & PolkuTiedosto & Chr$(34) & " "
& Chr$(34) & Polku & Tiedosto & Chr$(34)
The file is saved correctly on my computer but the PUT command writes an
empty file. Why is the file size 0 bytes? With another PC everything works
just fine.
By the way, firewall allows Word to connect to the Internet.
Mika
This uses msinet.ocx and I have installed it successfully.
PolkuTiedosto = "D:\Projects\My project\test.html"
Polku = "/public_html/"
Tiedosto = "test.html"
UserForm1.Password = "ok"
FileNum = FreeFile
Open PolkuTiedosto For Output As #FileNum
Print #FileNum, "text"
Close #FileNum
UserForm1.Inet1.Execute , "PUT " & Chr$(34) & PolkuTiedosto & Chr$(34) & " "
& Chr$(34) & Polku & Tiedosto & Chr$(34)
The file is saved correctly on my computer but the PUT command writes an
empty file. Why is the file size 0 bytes? With another PC everything works
just fine.
By the way, firewall allows Word to connect to the Internet.
Mika