Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Issue
Message
From
30/03/2012 10:15:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
FTP Issue
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01539800
Message ID:
01539800
Views:
92
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?
Next
Reply
Map
View

Click here to load this message in the networking platform