Any and all non-support discussions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by guru » Wed Feb 04, 2009 1:59 am
Hi There,
I have problem of copy file from xxx.xxx.x.xx1 to xxx.xxx.x.xx2 so please help me How should i write a code for that.
code i written for is like
$file = \\xxx.xxx.x.xx1\foldername\file123.wav
$newfile = /newfl/file123.wav
if(!copy($file,newfile))
{
echo "Error in copy";
}
Last edited by
guru on Thu Feb 05, 2009 5:08 am, edited 1 time in total.
-
guru
-
- Posts: 1
- Joined: Fri Jan 30, 2009 4:50 am
by mflorell » Wed Feb 04, 2009 7:49 am
you're really going to have to be a lot more specific here. Also, what exactly does that have to do with VICIDIAL?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by williamconley » Fri Feb 06, 2009 11:17 pm
guru wrote:if(!copy($file,newfile))
Why is there a "$" in front of "file" but not in front of "newfile"?
And (as Matt asked) why is this beginner scripting test question posted in the Vicidial Forum?
And (if this wasn't a test question) what exactly are you "guru" Of?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20258
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
Return to General Discussion
Who is online
Users browsing this forum: Google [Bot] and 78 guests