Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Internet Transfer Control
Message
 
 
To
06/10/1999 15:48:12
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00273356
Message ID:
00273498
Views:
21
Come on give wwipstuff a try... http://www.west-wind.com/wwIPStuff.asp

>Has anyone used the MS Internet Transfer control successfully to send a file via FTP? I've tried and couldn't get it to work. Here is my send method:
>
>thisform.olemitc.Protocol = 2
>thisform.olemitc.username = "MyUserName"
>thisform.olemitc.password = "MyPassword"
>thisform.olemitc.url = "999.999.999.999"
>thisform.olemitc.requesttimeout = 30
>thisform.oleMITC.execute("SEND C:\Test.TXT test.txt")
>
>I don't get any error message and the file doesn't get sent. I've also tried this version without success:
>
>thisform.olemitc.Protocol = 2
>thisform.olemitc.username = "MyUserName"
>thisform.olemitc.password = "MyPassword"
>thisform.olemitc.requesttimeout = 30
>thisform.oleMITC.execute("999.999.999.999", "SEND C:\Test.TXT test.txt")
>
>And this one:
>
>thisform.olemitc.Protocol = 2
>thisform.olemitc.username = "MyUserName"
>thisform.olemitc.password = "MyPassword"
>thisform.olemitc.requesttimeout = 30
>thisform.oleMITC.execute("FTP://999.999.999.999/", "SEND C:\Test.TXT test.txt")
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform