|
-
Feb 19th, 2000, 11:04 AM
#1
Thread Starter
New Member
Hey, I'm trying to make an FTP Program but I can't even get the program to connect to an FTP site. I have all the boxes made for entering the IP address, port, username, password etc, but I cant get the connect button to work...here's my current code..
Private Sub cmdConnect_Click()
With Inet1
.Cancel
.Protocol = icFTP
.URL = txtURL.Text
.UserName = txtUserName.Text
.Password = txtPassword.Text
End With
End Sub
but what i want it to do is display the process of connecting in a text box so i know it connects, then i want a DriveListBox to display the contents of the FTP Site. I know it sounds complicated but Im sure someone could help me. Thanks in advance.
-
Feb 20th, 2000, 03:56 PM
#2
Lively Member
Remove Cancel command and try again.
- Dj4
-
Feb 21st, 2000, 12:09 PM
#3
New Member
All you have done in your code is set the inet1 properties. After you do that you need to execute a command:
Inet1.Execute "put c:/blah.txt /blah.txt" would be an example of an execute.
Hope that helps you get started.
Culland
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
|