Print Page | Close Window

Copy files

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=154
Printed Date: 28 March 2026 at 10:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Copy files
Posted By: Tryta
Subject: Copy files
Date Posted: 14 February 2003 at 4:23am

I can't get this script work:
<%
dim filesys
set filesys=CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(" http://ip - http://ip adress/TEST/test.txt") Then
   filesys.CopyFile " http://ip - http://ip adress/TEST/test.txt",
 " http://148.121.55.63/TEST/1/ - http://148.121.55.63/TEST/1/ "
End If
%>

I want to copy files in a folder from one computer to another one. Is it possible?




Replies:
Posted By: MorningZ
Date Posted: 14 February 2003 at 11:45am
you cannot do that, it has to exist in the file system of the web server

imagine the security risks if i could copy a nasty asp file from my server to your server by the method you ask about.... yikes

-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net