Results 1 to 2 of 2
problem linking image in folder within the main folder Forum: HTML ForumReplies: 2
Unable to upload file using Multipart/form-data. Forum: CGI Perl ForumReplies: 0
Script, Checking To See If Folder Exist -- If Not Create That Folder Forum: CGI Perl ForumReplies: 1
Unable to download file Forum: CGI Perl ForumReplies: 3
10-22-2007, 12:34 AM #1
Unable to copy the text file from one M/C to another M/c shared folder using CGi scri
Can anyone give me the solution for this issue.
I wriitten a bat file called 'build.bat'. Its having following content.
copy "new.txt" "I:\build"
This build.bat is calling inside the cgi script. It has to be executed through cgi script in submit button on web, Copying is not happened once click the submit button. Whereas its copied if i run the build.bat file in command prompt.
10-22-2007, 01:45 PM #2
Re: Unable to copy the text file from one M/C to another M/c shared folder using CGi
post the cgi script so we can view it and see if you have made a mistake. There are a few different ways in which files can be copied. The simplest way would obviously be to open the file you would like to copy (into variable @file_contents), create a new file, then copy the contents from the current file into the newly created file (from @file_contents). However there are various modules you could use. How have you done it?