Computing.Net > Forums > Programming > visual basic ftp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

visual basic ftp

Reply to Message Icon

Name: IT
Date: November 14, 2002 at 13:24:08 Pacific
OS: win98
CPU/Ram: 688/128
Comment:

Hi,
I am new to visual basic, and want to make a program that will upload files to my ftp website. I can connect through winftp and upload ok, but I want to automate the process. can anyone tell me where I can find some good information with code for this?
thanks




Sponsored Link
Ads by Google

Response Number 1
Name: HiJinx
Date: November 15, 2002 at 03:06:48 Pacific
Reply:

You could probably find something to get you started at Planet Source Code.


0

Response Number 2
Name: Burbble
Date: November 15, 2002 at 10:16:36 Pacific
Reply:

Using a FileListBox, you can then have a For/Next loop that uploads each file (provided they are all in the same directory). Use something like this:


FileListBox1.Path = PathName
FileListBox1.Refresh

For a = 0 To FileListBox1.ListCount - 1
Upload FileListBox1.Path & "\" & FileListBox1.List(a)
Me.Caption = "Uploading File" & Str(a + 1)
Next a


-Burbble


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Mysql help String for beginners Buil...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: visual basic ftp

ftp transfer in visual basic 5 www.computing.net/answers/programming/ftp-transfer-in-visual-basic-5/16942.html

List Databses is Visual Basic 6 www.computing.net/answers/programming/list-databses-is-visual-basic-6/15612.html

visual basic and C# www.computing.net/answers/programming/visual-basic-and-c/1113.html