Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2006, 12:09 AM
Friend of Wrox
 
Join Date: Mar 2005
Posts: 264
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to upload small text file from within my vb6 f

hi all .I am making an application that it has to upload .text file.(c:\myprog\test.txt) to a remote server via ftp but i do not know how to do it.The text file is in the same folder as my vb6 application. I do not want much fetures just it transfer the file to remote server and prompts the user that it finished transfering the file.I want the server information to be unchanable and need for user input.The main form has just a command button.Furthermore, i am looking for a solution that does not need any driver installation when the user uses the program.I be happy if an expert show me how i can achive this task.Thanks
 
Old April 19th, 2006, 01:17 PM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi, i also need to find out how to do this i know how the componet which does this the MS Internet Transfer Component (ITC) however i don't know how to use it??

a web site suggests it should look like this...

inet1.Execute ("ftp://www.microsoft.com", "CD newdirectory"
inet1.Execute ("ftp://www.microsoft.com", "PUT localfile remotefile"

however this doesn't work any help??





Similar Threads
Thread Thread Starter Forum Replies Last Post
Text or Varchar types too small? lancer SQL Server 2000 2 October 2nd, 2006 12:20 PM
Upload a Text file from a Web Client to SQL Server petercyriljones Classic ASP Professional 0 May 20th, 2005 10:26 AM
Beginning VB6.0 Small Problem kalaiselvi Beginning VB 6 3 April 11th, 2005 01:24 PM
Text getting cleared after file upload Renu ASP.NET 1.0 and 1.1 Basics 9 September 7th, 2004 09:59 PM
Script to upload text file to SQL with errors ss2003 Beginning PHP 2 March 10th, 2004 12:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.