Home » Developer & Programmer » Forms » webutil_file.Directory_List
webutil_file.Directory_List [message #363282] Fri, 05 December 2008 12:07 Go to next message
Goodspeed
Messages: 16
Registered: November 2008
Junior Member
Hello

I want to see if a specified folder exists in a URL.

How can i do this ? If exists save a word doc. If not, webutil_file.create_directory to this specified folder and save doc.

Where i search examples to "work" with this featurs?

Best regards,

G.P.
Re: webutil_file.Directory_List [message #364330 is a reply to message #363282] Mon, 08 December 2008 00:44 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What happens if you try to open the directory?

David
Re: webutil_file.Directory_List [message #364494 is a reply to message #363282] Mon, 08 December 2008 18:30 Go to previous messageGo to next message
Goodspeed
Messages: 16
Registered: November 2008
Junior Member
Do nothing. Blowup thw word doc..

Regards,

G.P.
Re: webutil_file.Directory_List [message #364538 is a reply to message #364494] Tue, 09 December 2008 00:39 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry, I meant open the directory with a web_util function. You could also try using 'text_io' and 'client_text_io' and use the return codes from it to see whether the directory/file exists.

David
Previous Topic: How to get the control back to form from the command prompt after opening a web page usin HOST comnd
Next Topic: Synchronize Windows
Goto Forum:
  


Current Time: Sun Feb 09 08:53:09 CST 2025