Re: Moving files from one server to another...

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39920
interpreted = N
texte = Thanks John, I'll just stick to the hand copying for now :o)Pedro Rivera - Webmaster www.pssl.com-----Original Message----- From: John Peacock [mailto:jpeacock@rowman.com] Sent: Tuesday, November 06, 2001 6:55 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Moving files from one server to another... 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/------------------------------------------------------------- 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)
Thanks John, I'll just stick to the hand copying for now :o)Pedro Rivera - Webmaster www.pssl.com-----Original Message----- From: John Peacock [mailto:jpeacock@rowman.com] Sent: Tuesday, November 06, 2001 6:55 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Moving files from one server to another... 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/------------------------------------------------------------- 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/ Pedro Rivera

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:

WebTen and WebCat (1997) Server crash (1997) New syntax feedback for 4.0 (2000) dynamic giffing. (2000) WCS Newbie question (1997) Greeting Card System (2000) WebCatalog and WebTen (1997) Simple Database close connection (2001) RE: Can a database get stomped by simultaneous access? (1997) The Box - (2002) WebCat2b12plugin - [search] is broken ... not! (1997) WebCat2 beta 11 - new prefs ... (1997) Summary search -- speed (1997) LinkExchange (1997) [url] (1997) WebCat2b12 - New features for 1.6 users ... (1997) WebCat2 beta 11 - new prefs ... (1997) PHP vs WebCatalog (2000) 4.0 send email ticks. . (2000) WebCatalog can't find database (1997)