Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP Issue
Message
De
30/03/2012 10:15:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
FTP Issue
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01539800
Message ID:
01539800
Vues:
93
I have a program that connects to FTP, actually it's a program that someone wrote back in 2005? I'm thinking a lot of you probably have used it. It's been working good connecting to different FTP sites but a new client came onboard and it can't connect to his FTP site, but if I use the browser to connect, it does connect. Here's the FTP connection code if someone has seen it before:
* Make it so Foxpro can find our FTP Class
SET PROCEDURE TO ftp.prg ADDITIVE
   
* Create a FTP Object
sz_ftp = CREATEOBJECT('ftp_service')

* Try to get a handle into the Internet and Connect Briefly with the FTP Site
* Note: Insert your USER ID, PASSWORD, FTP ADDRESS, PORT # Here  
* Note: ("21" is the Default Port)

IF sz_ftp.OpenInternet(tcUserName,tcPassword,tcFTPSite, "21")
    *-- success connecting... more code goes here
ELSE
    *-- can't connect, this is what is happening with this client, it does connect with the browser though
ENDIF
Any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform