J
Jaez
I am trying to make my website produce a podcast for itunes with a number of
item entries and I could really do with help with the following
practicalities.
1) How can I determine from my webpage if a particular file exists on the
server.
In VB 6 I would have used something like Set fp =
CreateObject("Scripting.FileSystemObject"): If fp.FileExists....
I need something like
If fp.FileExists(http://mysite.com/files/thisfile.mp3) Then
2) Assumeing that the file exists then I need to know its length in bytes so
I can add this information to my podcast XML file
3) I now have my basic XML file template for this file type in an SQL
database and I can load that file to a variable in VB and replace various
placeholders with the required values.
What is the syntax for saving the contents of the string variable as a
file back on the server?
Thanks for all your help
Jaez
item entries and I could really do with help with the following
practicalities.
1) How can I determine from my webpage if a particular file exists on the
server.
In VB 6 I would have used something like Set fp =
CreateObject("Scripting.FileSystemObject"): If fp.FileExists....
I need something like
If fp.FileExists(http://mysite.com/files/thisfile.mp3) Then
2) Assumeing that the file exists then I need to know its length in bytes so
I can add this information to my podcast XML file
3) I now have my basic XML file template for this file type in an SQL
database and I can load that file to a variable in VB and replace various
placeholders with the required values.
What is the syntax for saving the contents of the string variable as a
file back on the server?
Thanks for all your help
Jaez