|
-
Dec 1st, 2003, 11:56 AM
#1
Thread Starter
Addicted Member
ftp control for vb
Anyone familiar / or recommend an FTP control for Visual Basic which would allow multiple FTP requests and run these asynchronously so I do not have to wait for one to finish before startin the next?
Many thanks
-
Dec 1st, 2003, 11:39 PM
#2
longyp
Try using the Microsoft Internet Transfer Control for that.
Project->References
-
Dec 2nd, 2003, 03:59 AM
#3
Thread Starter
Addicted Member
Thanks for the reply.
I will take a look.
-
Dec 2nd, 2003, 05:06 AM
#4
Thread Starter
Addicted Member
I tinkered around with the INET control using the openurl method to download a file from an FTP site.
Unless I am misusing the control, it does not seem to be multithreaded/asynchronous.
When I call openurl I have to hand around waiting for this to complete therefore preventing me performing any other downloads.
I guess you can load multiple occurences of the control is necessary? - but - does the openurl block anyother code executing?
Thanks
-
Dec 2nd, 2003, 05:20 AM
#5
Hyperactive Member
Use the standard ftp :
ftp - file transfer program
SYNOPSIS
ftp [ -dgintv ] [ -T timeout ] [ hostname ]
DESCRIPTION
The ftp command is the user interface to the Internet stan-
dard File Transfer Protocol (FTP). ftp transfers files to
and from a remote network site.
The client host with which ftp is to communicate may be
specified on the command line. If this is done, ftp immedi-
ately attempts to establish a connection to an FTP server on
that host; otherwise, ftp enters its command interpreter and
awaits instructions from the user. When ftp is awaiting
commands from the user, it displays the prompt ftp>.
OPTIONS
The following options may be specified at the command line,
or to the command interpreter:
-d Enables debugging.
-g Disables filename "globbing."
-i Turns off interactive prompting during multiple file
transfers.
-n Does not attempt "auto-login" upon initial connection.
If auto-login is not disabled, ftp checks the .netrc
file in the user's home directory for an entry
describing an account on the remote machine. If no
entry exists, ftp will prompt for the login name of
the account on the remote machine (the default is the
login name on the local machine), and, if necessary,
prompts for a password and an account with which to
login.
-t Enables packet tracing (unimplemented).
-T timeout
Enables global connection timer, specified in seconds
(decimal). The timer is reset when anything is sent to
the server on the control connection, and disabled
-v Shows all responses from the remote server, as well as
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|