Subject: How to upload small text file from within my vb6 f
Posted By: method Post Date: 4/12/2006 12:09:54 AM
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
Reply By: jimy.norton Reply Date: 4/19/2006 1:17:35 PM
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??

Go to topic 43061

Return to index page 310
Return to index page 309
Return to index page 308
Return to index page 307
Return to index page 306
Return to index page 305
Return to index page 304
Return to index page 303
Return to index page 302
Return to index page 301