|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
Hi for everyone !!! somebody can help me?? I want to make a FTP conection to a AS400 system for download text files an let thems in my w2000 server, and all in ASP, can this be posibble?? I wish.... Tanks so much... ![]() |
|
#2
|
|||
|
|||
|
It is possible if you don't mind downloading and paying for an FTP component. There is one called etiveFTP (http://www.etive.com/software/etiveftp/default.aspx). Which I have used and it was pretty easy to use. They seem to have updated it, so i don't know exactly how much it is. But as I said, it was very easy to use and at the time I bought it like a year ago its was 30 bucks. And I haven't had any problems with it.
|
|
#3
|
|||
|
|||
|
You can do it from within ASP. You can run it through the shell:
objShell = Server.CreateObject("Wscript.Shell"); objShell.Run("C:\\Inetpub\\wwwroot\\folder\\ftp.bat"); The ftp.bat file: cd c:\winnt\system32 ftp -s:c:\Inetpub\wwwroot\folder\ftp_script.txt The ftp_script.txt file: open 192.168.100.100 <username> <password> bin cd /public get somefile.txt bye |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > FTP with ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|