Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwIPStuff - ftpconnect() and virtual directories?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Divers
Thread ID:
00997967
Message ID:
00998759
Vues:
49
This message has been marked as the solution to the initial question of the thread.
>I cant seem to figure out how to connect to virtual directories with ftpconnect. For example I can connect to ftp://10.1.1.1 by passing just the server ip, but what if I wanted to connect to ftp://10.1.1.1/test ? FtpSetDirectory() only works to get to subdirectories of the ftproot it seems. In my case, the virtual directory I need to get to is just a pointer to a folder on a different drive.
>

Specify the folder name for the virtual directory in the command you need to run after connecting to the server. For example, if you need to download a file in a folder called downloads, use o.FTPGetFileEx("/downloads/pkzip.exe","c:\temp\pkzip.exe") (That came straight out of the WC help file.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform