Hey Guys,
I was able to create a subdirectory on a server with v2.8.1 and 2.9 as long as I had mapped the server on a windoze OS... I upgraded to v3 and LOVE the new editor but found out I cannot create a subdirectory on the same server like I had before. The code runs but no subdirectory is created.
I WAS using:
put (there is a folder tFilePath) into folderExists
if folderExists = false then
create folder tFilePath
end if
This worked so nicely in the previous versions.... I don't want to go back to a previous version... I really LIKE the new editor. Anyone have any way of creating a subdirectory on a server...?
Thanks
Paul
Creating a Subdirectory on a server - v3
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Paul,
Please, try your script in 2.9 and make sure that it really still works.
A slightyl simpler version of your script:
Is the disk still mounted on your machine? Can you make a the folder manually?
Best,
Mark
Please, try your script in 2.9 and make sure that it really still works.
A slightyl simpler version of your script:
Code: Select all
if there is no folder tFilePath then
create folder tFilePath
end if
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Creating a Subdirectory on a server - v3
Hey Mark,
Thanks!! That IS much more simple... I like that. It doesn't work in 2.9 anymore and I think I know why... when I was testing it I just had ONE subdirectory underneath it all... I'm testing a different one where I want a subdirectory under a subdirectory that doesn't exist...
I had a stupid moment... If I create the subdirectory first and THEN the other subdirectory it works fine.
Here I thought that they "fixed" an undocumented feature in v3... it CLEARLY states in the docs that you cannot create a folder on a server.
Thanks
Paul
Thanks!! That IS much more simple... I like that. It doesn't work in 2.9 anymore and I think I know why... when I was testing it I just had ONE subdirectory underneath it all... I'm testing a different one where I want a subdirectory under a subdirectory that doesn't exist...
I had a stupid moment... If I create the subdirectory first and THEN the other subdirectory it works fine.
Here I thought that they "fixed" an undocumented feature in v3... it CLEARLY states in the docs that you cannot create a folder on a server.
Thanks
Paul