Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP via DOS BAT
Message
From
25/07/2003 16:01:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00810533
Message ID:
00813635
Views:
11
Sorry for not getting back to you. Thats what I thought would do it, but when I did that I got and error saying can not locate the file:

Here's what I have to the put and FTP class:

from my ftp_test.prg file

IF !sz_ftp.PutFtpFile("c:\conveyor\sirfr\xsjflcptp4.txt", "XSJFLCP4.txt")
?sz_ftp.GetErrorCode(.T.)
ENDIF

AND
*//CAPS CAB -07/15/03 REMOVE ";" FROM END OF LINE
*!*fResult = FtpPutFile(THIS.nConnect_Handle, @lcLocalFile, @lcRemoteFile, ;
*!* FTP_TRANSFER_TYPE_BINARY, 0)
fResult = FtpPutFile(THIS.nConnect_Handle, @lcLocalFile, @lcRemoteFile, ;
FTP_TRANSFER_TYPE_ASCII, 0)
*//CAPS CAB 07/15/03 -- END
thanks for all your help.

Craig
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform