Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP file upload frew IE in VB 6 Please Help

Status
Not open for further replies.

Gytre

IS-IT--Management
Joined
Jan 20, 2007
Messages
11
Location
LT
Please HELP....im new to VB...i use vb6 and i need a sample how
to upload file frew Internet explorer to FTP (NOT winnet,winsok,shell....)


Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")

ClipboardCopyFiles "C:\text.txt" ' need to copy text file and sent it to ftp
IE.Navigate2 "ftp://loginassw@ftp.my.com"
ClipboardPasteFiles("/text.txt") 'i need simles way to upload file frew Internet explorer to FTP (NOT winnet,winsok,shell....)
 
The easy way is with an inet control. Is there some really good reason why you can't use this?

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
I need some how to upload file to ftp frew IE.
It can be simulate copy/paste for example
copy c:\text.txt
navigate ftp
paste file

somehow with IE.ExecWB OLECMDID_PASTE, OLECMDEXECOPT_PROMPTUSER
or somehow send command to ftp frew IE
PUT,GET....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top