Hi,
How to upload a file to FTP server using classic asp pages. I try to execute ftp.exe using shell but hosting provider wont support this script execution. Any other way?Thanks,Rejeev
What about Programming with sockets?
Check this link : http://www.hi-ho.ne.jp/babaq/eng/basp21.html, showing DLLs for FTP access.
ThanksAnuraj Phttp://www.dotnetthoughts.net
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS. BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.
Thanks Anuraj.
It seems the exe downloaded is not working...
No idea on socket programing in asp pages..
Thanks,
Rejeev
Hey Rajeev,
You don't have to do the socket programing in ASP, instead you can handle those in a COM component, and use the COM in ASP. Hope the following article shall help
http://www.15seconds.com/issue/981203.htm
Regards
Sreejumon [MVP]
http://sreesharp.com/blog
Thanks Sreejumon
A problem, I am having a shared hosting environment where COM are not able to register, so with this environment is there any other way?
Rejeev.
If you have access to that FTP folder from asp.net pages, simply upload files using the FileUpload control and SaveAs to that folder
If ActiveX/COM is a bad choice, you can think about java applet solution too.
PraVeeNMicrosoft MVPblog.ninethsense.com | kidoos.net
Check this http://www.freevbcode.com/ShowCode.asp?ID=4596
Shoban Kumar [MVP]
http://www.codegeeks.net | http://www.dotnetcurry.com