Click to See Complete Forum and Search --> : Ftp connection


kumaragomi
March 16th, 2001, 02:44 AM
Hi everyone,

I'm developping a utility for connection ftp site for upload and download files using
Visuval Basic 6.0. I tried to connect ftp site using the following codes with reference included as Internet Transfer Control 6.0 .OCX file. The code is

Public sub FTPConnect_click()

Inet1.username="username"
Inet1.password="password"
Inet1.execute ("ftp.domainname.com")
Inet1.execute , "DIR"
end sub

when I run this, I get unable to connect remote site
and run-time error 35754.

Help me how can I get out off this problem.

thank you

kumar

coolbiz
March 16th, 2001, 12:16 PM
I think you code should look like this:

.
.
call Inet1.Execute("ftp.domain.com", "DIR")




-Cool Bizs