Re: Moving files from one server to another...
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39911
interpreted = N
texte = Pedro Rivera wrote:> > I've tried that but maybe I'm not specifying the full path right. Can you> help with that?> [!]This one is the mapped drive to the first server[/!]> [writefile file=G:/websites/mywebroot/onefolder/insert/filename.txt]stuff to> be written> [/writefile]> > When I do this it gives an error like this:> ...F:/websites/mywebroot/thefolder/G:/websites/mywebroot/onefolder/insert/fi> lename.txt... can't be found (for obvious reasons)Notwithstanding the security issues of drive mapping from a production webserver to a test web server (or vice versa), [writefile] does not understanddrive letter mapping. You may be able to get away with UNC paths, ala[writefile file=\\servername\c\websites\mywebroot\onefolder\insert\filename.txt]but I wouldn't count on that to work either.However, and this is a very important point, the WebCatalog service is run asSYSTEM (by default) and the SYSTEM user does not have any rights to any machineexcept the local machine. You will need to change the user that WebCatalogruns under to an account that does have such rights.My considered professional advice: DON'T DO THIS!!! YOU WILL BE SORRY!!!John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Pedro Rivera wrote:> > I've tried that but maybe I'm not specifying the full path right. Can you> help with that?> [!]This one is the mapped drive to the first server[/!]> [writefile file=G:/websites/mywebroot/onefolder/insert/filename.txt]stuff to> be written> [/writefile]> > When I do this it gives an error like this:> ...F:/websites/mywebroot/thefolder/G:/websites/mywebroot/onefolder/insert/fi> lename.txt... can't be found (for obvious reasons)Notwithstanding the security issues of drive mapping from a production webserver to a test web server (or vice versa), [writefile] does not understanddrive letter mapping. You may be able to get away with UNC paths, ala[writefile file=\\servername\c\websites\mywebroot\onefolder\insert\filename.txt]but I wouldn't count on that to work either.However, and this is a very important point, the WebCatalog service is run asSYSTEM (by default) and the SYSTEM user does not have any rights to any machineexcept the local machine. You will need to change the user that WebCatalogruns under to an account that does have such rights.My considered professional advice: DON'T DO THIS!!! YOU WILL BE SORRY!!!John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
won't serve .tpl -permissions (2000)
[CART] as [Cart] (2006)
More questions about serial number dishing (1997)
form data submission gets truncated (1997)
Okay, I give up... (1999)
1st Comparison inside [fileinfo] broken. = bug? (2004)
Webcat no longer supported? (2006)
[WriteFile] problems (1997)
RE: Writefile outside WebSTAR hierarchy? (1997)
Hummm .... (2002)
EMailer - WebSTAR V - OSX - WebDNA (2003)
default value from Lookup (was Grant, please help me) (1997)
SSL with IIS 4.0 (1998)
WebCat2b12plugin - [search] is broken ... not! (1997)
webcat and webkitty votes needed (1997)
U&P IIS concept (1998)
question: webdelivery folder and file (1997)
Possible Bug in 2.0b15.acgi (1997)
f2 download problems (1997)
RE:It just Does't add up!!! (1997)