I was just on a chat with Yogendra, who said that AspInet is not even installed on Win10. I’m going to take a guess and say that AspInet probably isn’t installed on most of Jodohost’s servers? When you advertise something and say that it is available to use ( http://www.jodohost.com/windows.asp and Reseller Hosting for Agencies & MSPs - White Label Platform | JodoHost | JodoHost ) it should be working!
I’m trying to use the sample script from serverobjects.com, but I get an ASP error when trying to create the AspInet.FTP object, which further confirms that AspInet is not installed.
I need this fixed. Thx.
here’s the code from serverobjects.com:
<%
FTP_TRANSFER_TYPE_ASCII = 1
FTP_TRANSFER_TYPE_BINARY = 2
Set FtpConn = Server.CreateObject(“AspInet.FTP”)
rem *************************************************************************
rem *
rem * GET File Test
rem *
rem *************************************************************************
if FtpConn.FTPGetFile(“ftp.microsoft.com”, “anonymous”, “[email protected]”, _
“/disclaimer.txt”, “D:\hshome\wotechsi\westomahatech.com\ftp\disclaim.new”, true, FTP_TRANSFER_TYPE_BINARY) then
Response.Write “
FTP download Success…
”
else
Response.Write “
FTP download Failed…
”
Response.Write "Last Error was: " & FtpConn.LastError
end if
rem *************************************************************************
rem *
rem * PUT File Test
rem *
rem *************************************************************************
rem if FtpConn.FTPPutFile(“localhost”, “anonymous”, “[email protected]”, “command.com”, “c:\command.com”, FTP_TRANSFER_TYPE_BINARY) then
rem Response.Write “
FTP upload Success…
”
rem else
rem Response.Write “
FTP upload Failed…
”
rem end if
%>
go to http://www.westomahatech.com/ftp/ftpget.asp to see the error.