Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Calypso

an FTP problem

This topic is 6178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve been messing around with an FTP class from glVelocity, and have most of the functions operating correctly. I noticed there was on Create Directory, and searched through wininet.h and found there is one. So heres the new function I added: bool CFTP::CreateDir(char szDirName[MAX_PATH]) { if(!FtpCreateDirectory(m_hFTPSession,szDirName)) { return false; } return true; } Well, in a different function I''ll say: if(!ftp.CreateDir("dirname")) { MessageBox(0,"Could not create directory","Error",MB_OK); return 0; } Everytime I run it, it comes back false, but the directory IS created. Any idea what''s going on and how I can cause it to not come up as an error? Thanks, Calypso

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!