VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



CFTPLink

by Gary Ong (2 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

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.
Code 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

Download CFTPLink

Download CFTPLink (7 KB)

CFTPLink Comments

No comments have been posted about CFTPLink. Why not be the first to post a comment about CFTPLink.

Post your comment

Subject:
Message:
0/1000 characters