VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

CFTPLink

Gary Ong  (2 Submissions)   Internet/HTML   Visual Basic 3.0   Advanced   Wed 3rd February 2021

This is a class that provides a simple interface for FTP uploading functionality. It is based on code submitted by Philipp 'Schlaubi' Stern and Kristian Trenskow. The code can be easily extended to provide other FTP functionality. Also included is an example of how to use it.

Inputs
At a minimum set the Server, username and password properties before calling the AddFilesToSend method and finally the SendFiles method.

Assumes
It's reasonably well documented, but you may have to refer to FTP doco to fully understand it. Uses the Microsoft Winsock control 6.0.

Returns
AddFilesToSend returns True if it has been added ok, false if the file doesn't exist. SendFiles returns -1 if the server or username has not been set or else the number of files successfully sent.

Rate CFTPLink (13(13 Vote))

Download CFTPLink

CFTPLink Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters