Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
West Wind FTP Class
Message
From
21/07/2004 15:21:50
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
West Wind FTP Class
Miscellaneous
Thread ID:
00926726
Message ID:
00926726
Views:
66
I am attempting to use West Wind's FTPSendFile() utility. When I send a file to the root of the target FTP server I am successful, but if I send the file to a folder on the target FTP server I get the error: 553 Cannot create file. I can "copy" a file to the same folder on the FPT server using Windows however.

*-- This command always succeeds
IF oFTP.ftpconnect(lcServer, lcUsername, lcPassword) # 0
? oFTP.cErrorMsg
ENDIF

*-- This command succeeds if lcftptarget is just a file name
*-- It does not succeed if lcftptarget is "/foldername/filename"
IF oFTP.FTPSendFile(lcserver,lcftpsource,lcftptarget,lcusername,lcpassword) # 0
? oFTP.cErrorMsg
ENDIF

Could this be a permissions issue? How would I investigate that?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform