Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Internet Transfer Control
Message
 
À
06/10/1999 15:48:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00273356
Message ID:
00273498
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform