Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
Neeeol #1
File.CopyTo across servers
I need to copy recorded streams from server to server. I planned on using the
File.CopyTo function, but I have two questions.
First, the PDF documentation of the server side actionscript states that "If
.... the destination file doesn?t exist, the operation
fails..." (pg 70.) Do I first need to create the destination file by opening
it in "create" mode before using the CopyTo function?
Second, I am assuming that I should be able to use the file naming convention
"//server/app/dir/filename" for the destination file to copy the file from
server A to server B using the mapped locations. But something's nagging at me
telling me this won't work. In the documentation the naming instructions kind
of imply that file copies only work within a single server. The example
doesn't show either an app name or server. I want to do this:
Code running on source server.
var fileToCopy = new File("/dir/filename");
fileToCopy .CopyTo("//destserver/app/dir/filename")
If that's no good, can I copy the file from the source server to the
destination server from the destination app? For instance:
Code running on destination server.
var fileToCopy = new File("//srcserver/app/dir/filename");
fileToCopy .CopyTo("/dir/filename")
If someone could clarify this for me I'd appreciate it.
Thanks.
Neeeol Guest
-
Frontend Web Servers connect to Coldfusion Servers
I need some help getting a front end web server cluster (iis) talking with the backend colfusion app cluster (j2ee install). Do I have to install... -
file upload and DTS between servers
Hello. I have two servers (A and B) in our environment. 'A' hosts sites and runs CF. 'B' acts as a dedicated SQL Server box. I'm trying to... -
Central file repository for clustered servers
We are upgrading from CF 5 to MX 6.1. We have the requirement of building in server redundancy. We have elected to go with Windows 2003 because ot... -
DNS Servers
We have a large network with Active Directory at present we have only one DNS server at present and i am thinking of configuring a secondary DNS... -
DirectoryEntry and CopyTo function
Hi I am struggling to make a Web site/Web Directory copy work. I am using the System.DirectoryServices to connect to my localhost machine. ... -
Neeeol #2
Re: File.CopyTo across servers
Never mind.. I just saw another post on a similar topic and it's pretty clear i can't do this.
Neeeol Guest



Reply With Quote

