FTP PutFile() fails [on hold]











up vote
0
down vote

favorite












simple as that: PutFtp(...) returns FALSE with GetLastError() returning
12003 ERROR_INTERNET_EXTENDED_ERROR.



But InternetGetLastResponseInfo() sets error to 0 and "200 Type set to I.
227 Entering Passive Mode (31,33,165,72,63,170)" to the message.



So, whats going on here? Needles to say that GetFtpConnection() is called with TRUE as the 5th parameter meaning INTERNET_FLAG_PASSIVE is used for InternetConnect().










share|improve this question















put on hold as off-topic by Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 4




    What are these functions? Where is your Minimal, Complete, and Verifiable example?
    – Lightness Races in Orbit
    2 days ago















up vote
0
down vote

favorite












simple as that: PutFtp(...) returns FALSE with GetLastError() returning
12003 ERROR_INTERNET_EXTENDED_ERROR.



But InternetGetLastResponseInfo() sets error to 0 and "200 Type set to I.
227 Entering Passive Mode (31,33,165,72,63,170)" to the message.



So, whats going on here? Needles to say that GetFtpConnection() is called with TRUE as the 5th parameter meaning INTERNET_FLAG_PASSIVE is used for InternetConnect().










share|improve this question















put on hold as off-topic by Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 4




    What are these functions? Where is your Minimal, Complete, and Verifiable example?
    – Lightness Races in Orbit
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











simple as that: PutFtp(...) returns FALSE with GetLastError() returning
12003 ERROR_INTERNET_EXTENDED_ERROR.



But InternetGetLastResponseInfo() sets error to 0 and "200 Type set to I.
227 Entering Passive Mode (31,33,165,72,63,170)" to the message.



So, whats going on here? Needles to say that GetFtpConnection() is called with TRUE as the 5th parameter meaning INTERNET_FLAG_PASSIVE is used for InternetConnect().










share|improve this question















simple as that: PutFtp(...) returns FALSE with GetLastError() returning
12003 ERROR_INTERNET_EXTENDED_ERROR.



But InternetGetLastResponseInfo() sets error to 0 and "200 Type set to I.
227 Entering Passive Mode (31,33,165,72,63,170)" to the message.



So, whats going on here? Needles to say that GetFtpConnection() is called with TRUE as the 5th parameter meaning INTERNET_FLAG_PASSIVE is used for InternetConnect().







c++ ftp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Uwe Keim

27.2k30127210




27.2k30127210










asked 2 days ago









affenärschle

144




144




put on hold as off-topic by Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Lightness Races in Orbit, nvoigt, Swordfish, Sean, Uwe Keim

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 4




    What are these functions? Where is your Minimal, Complete, and Verifiable example?
    – Lightness Races in Orbit
    2 days ago














  • 4




    What are these functions? Where is your Minimal, Complete, and Verifiable example?
    – Lightness Races in Orbit
    2 days ago








4




4




What are these functions? Where is your Minimal, Complete, and Verifiable example?
– Lightness Races in Orbit
2 days ago




What are these functions? Where is your Minimal, Complete, and Verifiable example?
– Lightness Races in Orbit
2 days ago

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)