hello all,

i m newbie here... and i have one silly question to ask about inet ftp... i was trying to ftp using inet ftp in vb6, but keep getting 'variable not defined' error for my Inet1 (eg: inet1.URL = host_name)

do i need to register any component or add any reference prior to use this inet ftp function?

appreciate your prompt help on this... thanks alot =)

Recommended Answers

All 3 Replies

The problem is that you have not declared the variable Inet1, which you do with Dim (or Private/Public).
it should be declared in the declarations section at the top of the code (just under Option Explicit). or in module.

The problem is that you have not declared the variable Inet1, which you do with Dim (or Private/Public).
it should be declared in the declarations section at the top of the code (just under Option Explicit). or in module.

thanks alot.... =) i get it works now...

so please mark it solve.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.