Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WwIPStuff - ftpconnect() and virtual directories?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
00997967
Message ID:
00998759
Views:
48
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.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform