473,385 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

URGENT - I need some advice re Inet.Execute VB6

Hi All

I am coding a small app in that swaps specific files between a client and
server. All files and locations are set at both sides.

I want my app to show a file list, based on the file names, from the local
and remote machine.....

Local is not a problem and works OK. but I am trying ::
Form1.getFile.FileName = Inet1.Execute("ftp://ftp.server.net", "DIR") and I
keep getting a Type Mismatch error.

Any help would be appreciated.... I have to get this finished by Tuesday
!!!!

TIA

Max
Apr 30 '06 #1
2 9049
"Max Power" <ma*******@excelence.co.uk>'s wild thoughts were
released on Sun, 30 Apr 2006 16:34:00 +0100 bearing the
following fruit:
Hi All

I am coding a small app in that swaps specific files between a client and
server. All files and locations are set at both sides.

I want my app to show a file list, based on the file names, from the local
and remote machine.....

Local is not a problem and works OK. but I am trying ::
Form1.getFile.FileName = Inet1.Execute("ftp://ftp.server.net", "DIR") and I
keep getting a Type Mismatch error.

Any help would be appreciated.... I have to get this finished by Tuesday
!!!!

Well, it's Tuesday so I guess it's too late now huh.

Just some advice on posting, newsgroups are really not the
place for urgent help as it can take a few days to answer
some questions.

Trying to draw attention to you post by using capitals or
URGENT etc in the subject line is considered rudem and just
tends to annoy people and is more likely to result in less
people looking at your problem.

Jan Hyde (VB MVP)

--
Coup de Gras: A Lawnmower (Fred)

May 2 '06 #2
Max Power wrote:
Hi All

I am coding a small app in that swaps specific files between a client and
server. All files and locations are set at both sides.

I want my app to show a file list, based on the file names, from the local
and remote machine.....

Local is not a problem and works OK. but I am trying ::
Form1.getFile.FileName = Inet1.Execute("ftp://ftp.server.net", "DIR") and I
keep getting a Type Mismatch error.

Any help would be appreciated.... I have to get this finished by Tuesday
!!!!


Also late, but .Execute() doesn't actually return anything...
You will most likely want to use .OpenURL() instead.

--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems
May 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kapish Kalda | last post by:
Hi, I am using Inet AcitveX to download a file form Http.(code below) but couldnot able to download. The file size is about 2MB. Please Suggest. Thanks Code Private Sub Command1_Click()
0
by: dartszeeland.tk | last post by:
Hi, i want to upload a file from my computer to a ftp..... this is the code: Inet.RemoteHost = "localhost" '(not ftp:// in front of it) Inet.RemotePort = "21" Inet.UserName = "user"...
0
by: Pius | last post by:
Set Inet = Server.CreateObject("InetCtls.Inet.1") Inet.URL = "http://www.yahoo.com/" Inet.AccessType = icDirect Inet.Protocol = icHTTP Inet.RemotePort = 80 Inet.RequestTimeout = 60...
3
by: JGBNS via DotNetMonster.com | last post by:
Hi, I am new to this forumand I apologize as i am not a .net programmer but we have a program being developed by a .net programmer. Nowwe have run into an ftp snag and I think it is part ftp and...
0
by: Roland Mayr - Chipware | last post by:
Hello, maybe someone knows how this activeX works. I tried to execute a few ftp operation in sequence but they do not work. If I choose just one ftp operation than it works. Even if I debub...
1
by: sathya | last post by:
hi, i have problem in httphandler, my problem is that when i am trying to use server.execute(/default.aspx) i am getting error.... Here i am trying to redirect from home.aspx to...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
0
by: Tom Libby | last post by:
I have a control that is based on the Inet control it has a httppost method which is below. During development everything works fine but after I build an exe the StillExecting property is not being...
3
by: danny relic | last post by:
Is it possible for inet to access a webpage, fill out post data, and then do another action afterwards? How would I do that? For instance, I've got inet accessing a site where it needs to do a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.