Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FtpPutFile and sub folders
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01132356
Message ID:
01132369
Vues:
19
it was only after i posted this that i realised that i could move the directory as it would not effect the program! also on the ftp side i just used FtpSetCurrentDirectory(lhFTPSession,remotedir) and then sent the file.
Thanks
~M

>Hi Mark,
>
>I think you should change the directory before coping the file.
>
>For example:
>lcPath = Fullpath("")
>cd subdir
>... ftp command ...
>cd (lcPath)
>
>HTH
>
>>hi all,
>>I am trying to copy up a file to an ftp server. if the file is in the application folder then it copies to the ftp server with no problems. if the file to be sent is in a subfolder it does not work. also if i try to send the file to a valid subfolder on the ftp server then it fails. i have tried using the remote location as /test1/filename.zip, test1/filename.zip, \test1\filename.zip and test1\filename.zip but none work. any pointers welcomed
>>Slán
>>~M
Go raibh maith agat

~M
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform