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 web server to a test web server (or vice versa), [writefile] does not understand drive 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 as SYSTEM (by default) and the SYSTEM user does not have any rights to any machine except the local machine. You will need to change the user that WebCatalog runs under to an account that does have such rights.My considered professional advice: DON'T DO THIS!!! YOU WILL BE SORRY!!!John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: Moving files from one server to another... (Pedro Rivera 2001)
  2. Re: Moving files from one server to another... (John Peacock 2001)
  3. Re: Moving files from one server to another... (Alain Russell 2001)
  4. Re: Moving files from one server to another... (Jim Lanford 2001)
  5. Re: Moving files from one server to another... (Aaron Lynch 2001)
  6. Re: Moving files from one server to another... (Alain Russell 2001)
  7. Re: Moving files from one server to another... (Aaron Lynch 2001)
  8. Re: Moving files from one server to another... (Pedro Rivera 2001)
  9. Re: Moving files from one server to another... (John Peacock 2001)
  10. Re: Moving files from one server to another... (Bob Minor 2001)
  11. Re: Moving files from one server to another... (Brian Fries 2001)
  12. Re: Moving files from one server to another... (Pedro Rivera 2001)
  13. Re: Moving files from one server to another... (John Peacock 2001)
  14. Moving files from one server to another... (Pedro Rivera 2001)
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 web server to a test web server (or vice versa), [writefile] does not understand drive 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 as SYSTEM (by default) and the SYSTEM user does not have any rights to any machine except the local machine. You will need to change the user that WebCatalog runs under to an account that does have such rights.My considered professional advice: DON'T DO THIS!!! YOU WILL BE SORRY!!!John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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)