Print Page | Close Window

FTP using asp

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=9714
Printed Date: 31 March 2026 at 9:41pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: FTP using asp
Posted By: hack_it
Subject: FTP using asp
Date Posted: 10 February 2004 at 4:28pm

i am wondering is it possible to FTP a file from my wwwroot folder to the ftproot folder using asp?? any help would be appreciated.




Replies:
Posted By: pmormr
Date Posted: 10 February 2004 at 7:24pm
you can do it with filesystemobject... take a look in w3school's ASP section... there's a good tutorial in there... www.w3schools.com

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: hack_it
Date Posted: 10 February 2004 at 10:33pm
i'm using filesystemobject and wscript.shell but when i run the asp script it just stalls. can u use anything else other than wscript.shell??


Posted By: Bullschmidt
Date Posted: 12 February 2004 at 2:17am
To move or rename a file:
objFSO.MoveFile "c:\myfile.txt", "c:\myrenamedfile.txt"


-------------
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com - www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)


Posted By: Mart
Date Posted: 12 February 2004 at 11:50am
Do you run Norton Antivirus on your server? If so disable script blocking, took me months to figure that out... Maybe im just slow


Posted By: pmormr
Date Posted: 12 February 2004 at 6:15pm
good security feature... but not for developers... AARRRGH!

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/



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