Important alert: (current site time 7/16/2013 3:06:39 AM EDT)
 

winzip icon

_TechFTP - A Complete FTP Client with Cool Interface.

Email
Submitted on: 5/3/2002 11:32:07 AM
By: Muktak Joshi  
Level: Intermediate
User Rating: By 75 Users
Compatibility: VB 5.0, VB 6.0
Views: 72927
author picture
(About the author)
 
     Complete FTP Client. Download, Upload, Queues, Site Manager etc. Features like CuteFTP. Used almost all common control (useful for new coders) Illustrates use of winsock control to create FTP Client.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 10 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
5/3/2002 3:28:38 PMComputer Controller

Cool!
(If this comment was disrespectful, please report it.)

 
5/4/2002 1:36:53 PMPall

Good try,keep it up.
(If this comment was disrespectful, please report it.)

 
5/4/2002 2:13:05 PMgerry mc donnell

wow, thats brilliant m8, jus like cuteftp. im gonna adda few improvemnets and use this as my ftp program
5 votes from me
(If this comment was disrespectful, please report it.)

 
5/8/2002 3:54:37 AMMuktak Joshi

I am author of this code. There is a bug in the code.
Please replace
LastPort = 1000
to
LastPort = 1025
and then ftp client will connect properly to all ftp sites.
(If this comment was disrespectful, please report it.)

 
5/8/2002 4:47:31 AMAlex Bylund

Why don't you just make the changes and update it? You can update without reposting it.
(If this comment was disrespectful, please report it.)

 
5/8/2002 5:04:31 AMMuktak Joshi

i have made necessary changes in code. please download it again. updated
(If this comment was disrespectful, please report it.)

 
5/9/2002 2:12:01 PMAzizur (Infodesh)

What can I say you've always made the best App for the job. good luck.
(If this comment was disrespectful, please report it.)

 
5/10/2002 2:11:32 PMKaustubh

Really an excellent to be found on the planetsourcecode...Keep it up muktak

(If this comment was disrespectful, please report it.)

 
5/11/2002 4:05:57 AMogeeny

way da go muktak! I'll vote for your code!
(If this comment was disrespectful, please report it.)

 
5/12/2002 10:52:31 PMAllVotesAreForged

The name of the persons voting suggests that all are one and same person. The author himslef.
(If this comment was disrespectful, please report it.)

 
5/13/2002 6:22:08 AMTheUneducatedHamster

Hi,
Code looks good but i have a question why does setting the local port to 1025 make a difference? Why not just set it to 0?

(If this comment was disrespectful, please report it.)

 
5/15/2002 2:17:22 PMElias Barbosa

It has a few bugs but looks good. I will fix the resize routine and some refreshing stuff. I will probably add icons to be displayed depending on the type of file on each list. If you decide to make these changes, however, I will appreciate it! :)
___________________________________________________
You got my best vote...
___________________________________________________

Keep up!

(If this comment was disrespectful, please report it.)

 
5/15/2002 2:27:48 PMMuktak Joshi

thankx for the vote. I am going to add all these things and much more. I am having exams right now so dont have much time. but check after few days.
(If this comment was disrespectful, please report it.)

 
5/25/2002 8:28:01 PMetrask

this is exactly what i was looking for...i was trying to make an ftp protocol using winsock, and now i know how. I'll optimize it a bit and use it as my main ftp protocol. good job! ***** from me
(If this comment was disrespectful, please report it.)

 
5/27/2002 6:23:58 AMRowan Ingvar Wilson (leet_llama@hotmail.com)

Bloody hell this is good! Better than cute! Have you ever thought about being a proffesional developer? How long did it take you to do this? AMAZING! if PSC has 10 stars, it would be 10/10. Keep it up man.
(If this comment was disrespectful, please report it.)

 
5/31/2002 4:33:21 PMElliot McCardle

excellent program.
(If this comment was disrespectful, please report it.)

 
6/7/2002 2:25:25 PMSüess Roger

very good project. you must be add the Chmod-functions. and a nice design :-)
After that, it will be are perfect...
(If this comment was disrespectful, please report it.)

 
6/15/2002 6:42:21 AMDanny Cain

AAAGGGHH, this is exactly what im looking for but it keeps saying license information not found :@
(If this comment was disrespectful, please report it.)

 
7/1/2002 1:25:50 PMWazoo

Good program, except that the forms dont resize when you change the window size, and maybe put a back or up on level button next to the directory window, like in windows explorer.
(If this comment was disrespectful, please report it.)

 
7/10/2002 3:56:16 PMPat

Hi,

Can we send some "site command" to a FTP Server with your program, and if yes could you send me an exemple...thanks...
(If this comment was disrespectful, please report it.)

 
7/12/2002 4:19:42 PMJames Kelly Jr.

I love how ya get a program with its source code so if ya got a prob ditch tech support.
(If this comment was disrespectful, please report it.)

 
8/16/2002 4:21:23 AMIgnat Andrei

Do you know how to have PASSIVE MODE ? I have an account at fortune city and is blocking ...
View Listing
STATUS:> Connecting to ftp.fortunecity.com
STATUS:> Socket Connected. Waiting for Welcome Message...
220 server ready. Enter Username.
STATUS:> Connected. Authenticating...
COMMAND:> USER ignatandrei
331 Welcome 'ignatandrei', enter password to login.
COMMAND:> PASS ********
230 Welcome to FortuneCity.Com.
STATUS:> Login Successful
COMMAND:> pwd
257 "/" is the current directory.
STATUS:> Retrieving directory listing...
COMMAND:> PORT 192,168,0,68,4,3
COMMAND:> LIST
200 PORT command successful. Data port is 213.154.135.134 port 1027.

Anyway 5 globes from me!
(If this comment was disrespectful, please report it.)

 
8/16/2002 9:26:52 AMCharles Kincaid

Cool program and good work.

Does not handle large files. In sockect programming you have to take into account that you won't always get things in one shot. When getiing files you have to open the file and put the bytes out as they come.

It's a great start!!

(If this comment was disrespectful, please report it.)

 
10/15/2002 3:03:22 PMBumble

Do i need to make any references for the FileSystemObject to work coz it doesnt
(If this comment was disrespectful, please report it.)

 
10/17/2002 12:18:59 PM

Very nice. I am not an FTP guru yet, but with your help I may become one. One note: I was able to hang it up during termination of the program by providing a null port value.

Thanks for the contribution.
(If this comment was disrespectful, please report it.)

 
10/30/2002 6:28:11 PMgaby

It's very nice... the transfers works fine for text,html files but not for .doc .fla or other program files.
It's getting an closing Pipe error or something like that.

If you fix that you get my 5 globes

thanks
(If this comment was disrespectful, please report it.)

 
11/8/2002 1:22:00 PM

This is crap!! It doesn't do what it is suppose to! if you try to transfer a bigger file (for instance, with 40K), all you can trasnfer is a small portion of it! The app is pretty, but it's not working!!
(If this comment was disrespectful, please report it.)

 
12/23/2002 3:41:02 AM

Ok. When i got this source code, i was expecting big time good program. I like the source, but i couldnt believe how buggy it was when i tryed to compile or start. Upon starting it, I would have lisence errors, logs mention about a bug on line 24. If i even attempted to compile it, the thing: 'sckConn' wasnt defined, and if u did define it, it would expect an array. I was extremely disapointed at this prog when i got it, I was expecting alot more, after reading the feedback above, dunno how anyone else got it working, maybe its cus my computer is on Windows XP Professional. pretty poor if it cant handle the latested in software, but then again, probably not. No offense Muktak, but if this program is as good as peeps above say it is, i really think u shud find out why i got those errors.
Cya, LITHIA
(If this comment was disrespectful, please report it.)

 
1/16/2003 1:17:47 PM

Nicely done mate
Well commented for noob coders like me
(If this comment was disrespectful, please report it.)

 
1/28/2003 5:55:21 AMDiablo

nice code , though i updated code and references so to run on XP ,well done and muchly appreciated , globes for good code .
(If this comment was disrespectful, please report it.)

 
2/11/2003 3:40:10 PM

WOW, been a long long time since I Was this impressed with any code.
(If this comment was disrespectful, please report it.)

 
5/30/2003 3:48:25 PMChris Janusz

Its a lot like FileZilla, but its in VB.
Nice piece of work.

http://sourceforge.net/projects/filezilla/


(If this comment was disrespectful, please report it.)

 
6/29/2003 4:50:40 AMJohn Keymer

Nice for small files. Try and update it to manage large files (few hundred megs) and I'll vote! :)
(If this comment was disrespectful, please report it.)

 
9/1/2003 5:04:29 AM

u got 4 of my stars but its a bit slow and wont transfer big files.
(If this comment was disrespectful, please report it.)

 
9/2/2003 10:43:18 AMrazilatif

execellent... I would like to invite you to join in the development of the ftp serve and client.. please visit my website (www.geocities.com/rhazaeh) and reply to my request
(If this comment was disrespectful, please report it.)

 
9/24/2003 12:15:01 AM

This is pretty good. Large files seem to have problems, but I like it.
(If this comment was disrespectful, please report it.)

 
11/25/2003 2:09:08 AM

This is great!
(If this comment was disrespectful, please report it.)

 
1/3/2005 9:37:32 PMtonyn

absolutel;y fantastichnya *****
(If this comment was disrespectful, please report it.)

 
3/7/2006 12:30:14 AMdj Mau

very good code! but it will return error 425 when the FTP server has virtual directories for an account in Pasive Mode. Also you might want to work in the ASCII or Binary transfer types, it seems that this program will only transfer ASCII type files (html and text files)
4 globes from me
(If this comment was disrespectful, please report it.)

 
5/28/2006 12:12:14 PMJoel Brogan

YES! you are my hero, the best ftp client out there! 5 globes! or whatever those things are..
(If this comment was disrespectful, please report it.)

 
10/18/2006 1:12:05 AMaskmyname

sIR... i THINK your code is excellent...nd i need your help....I want to build a file transfer downloader for our company...you know..sumtimes transactions through e-mail are bit of headaches specially when my BOSS submits our CATALOGs(30MB) to our 10 clients simultaneously...i hope you get my point...i looking forwrd for your response...i really need this...thanks ...BTW 'bout your code here..5 galaxies from me....
(If this comment was disrespectful, please report it.)

 
12/23/2006 5:29:44 PMkamaruddin

very nice code,im newbie here hoping for some guru from here who can teach me winsock over server and client
(If this comment was disrespectful, please report it.)

 
12/4/2007 7:02:35 PMMatt DeKok

2
Some of my folders appear with no name and some files as folders with no name.
(If this comment was disrespectful, please report it.)

 
12/7/2007 9:36:04 AMMatt DeKok

I found out why, some lines have a blank line before them and some are cut off to a new line in the middle. And when doing Split(whatever, vbCrLf) it cuts them up.
(If this comment was disrespectful, please report it.)

 
3/1/2009 6:26:57 AMDamic

Nice, was looking for a piece of code to upload binary data tot a server. Hopefully this works ;)
(If this comment was disrespectful, please report it.)

 
6/8/2009 11:44:12 AMJohn T.

Congratulations men, this code is terrific. You are the best
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.