I'm using the Inet.OpenURL command but it will only open the file if it is in the public folder or a sub folder under of the our website. Here is my code:
MyTest$ = Inet1.OpenURL("www.oursite.com/whatever.txt")
.....This works fine, but if I have the same file in a different folder NOT under the public it won't return it
MyTest$ = Inet1.OpenURL("www.oursite.com/DifferentFolder/whatever.txt")
.....This returns file not found when the folder DifferentFolder is not under the public folder
We have already versified all the obvious like spelling, capitalization, file/folder actually existing, etc. We also have already set the properties of the Inet to our site, username, password.
If we use the EXECUTE with GET it does find things.
With Inet1
.URL = "ftp://oursite.com"
.UserName = "xxxxxxxx"
.Password = "xxxxxxxx"
.Execute , "GET /DifferentFolder/whatever.txt C:\Test\whatever.txt"
End With
MyTest$ = Inet1.OpenURL("www.oursite.com/whatever.txt")
.....This works fine, but if I have the same file in a different folder NOT under the public it won't return it
MyTest$ = Inet1.OpenURL("www.oursite.com/DifferentFolder/whatever.txt")
.....This returns file not found when the folder DifferentFolder is not under the public folder
We have already versified all the obvious like spelling, capitalization, file/folder actually existing, etc. We also have already set the properties of the Inet to our site, username, password.
If we use the EXECUTE with GET it does find things.
With Inet1
.URL = "ftp://oursite.com"
.UserName = "xxxxxxxx"
.Password = "xxxxxxxx"
.Execute , "GET /DifferentFolder/whatever.txt C:\Test\whatever.txt"
End With