Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ftp error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01628837
Message ID:
01628935
Vues:
44
>>>Hi all,
>>>I'm using wwFTP to send data to a server but I'm getting an error
>>>Win32 APT: The handle is invalid.
>>>I've checked my login details and they are all okay. Any ideas?
>>>~M
>>
>>One question, related to what Thomas indicated, is whether you have sufficient privileges to access that system dll.
>>
>>Hank
>I was running this as a local admin so hadn't thought to check the user security aspect. I ran the program locally to copy to our FTP server and on my PC the file copied up fine. I ran the same program as administrator on the server and it gave the same error.
>~M

I've had problems when connecting to sFTP in the past, and if the host is a Unix box or a mainframe then the problems got even worse. What I finally did was use WinSCP - which has it's own built in scripting language - and use it instead. I used VFP to create the scripts (which are text files and I think a .bat file) - then used oShell or RUN command to run the scripts. So far this is the only thing that I've found that actually works with 100% of the FTP / sFTP hosts I want to connect too. I've played around with a zillion activex controls and other stuff - so far I've found this to be the best solution.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform