Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
West Wind FTP Class
Message
De
21/07/2004 15:21:50
Fred Wood
Madera Systems Consulting
Mill Valley, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
West Wind FTP Class
Divers
Thread ID:
00926726
Message ID:
00926726
Vues:
63
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform