Skip to main content
GameDev.net gamedev.net
🔒 Locked

FtpSetCurrentDirectory

Started by Greg K May 14, 2004 at 9:56 PM 0 replies 600+ views
Original Post
Greg K
Greg K
Using the wininet functions I have been successful connecting to a server, getting files and putting files. What I am trying to do now is change my current directory on the server. Using FtpSetCurrentDirectory I can change the current directory one level. After that the function fails. I cannot go more than one level even in the get/put calls (using an absolute path). I have tried doing the call in one step and then doing another call to get to the lower directory but that doesn''t work either. Also, the FtpGetCurrentDirectory never returns a path. Any help would be great.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.