Solved

Arbitary FTP Command and INternetConnect()

Posted on 1998-10-21
4
270 Views
Last Modified: 2013-12-03
Is there a way to execute an arbitrary FTP command on a HINTERNET handle opened to an FTP server using InternetConnect()?  I know there is an FTPCommand() function, but the MSDN library says this function is available only for WinCE platform? Does anyone know of a way to just send an arbitrary command? (eg: quote, user, close, etc. )

Thanks,

Adam
0
Comment
Question by:mza
  • 2
4 Comments
 

Expert Comment

by:aborman
ID: 1415517
0
 

Author Comment

by:mza
ID: 1415518
No I had not seen that particular web page, but it contains all of the same information as the MSDN CD.  What I need to be able to do is send an ARBRITRARY command to the server. I am also using the functions for creating directories and such, but the application I am writing needs to do some other things (like changing password) which CAN be done from a  script file (processed by ftp -s) but for which no WinInet functions exist.
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 50 total points
ID: 1415519
You can't.  WININET.DLL does not support it.  Maybe, in a future update it will, but for now it's not there.  Since the connection isn't available to you (as it's abstracted by the DLL), there's no workaround.

B ekiM

0
 

Author Comment

by:mza
ID: 1415520
Ok, thanks, I guess I'll have to write my own suite of ftp functions then.. thanks..

Adam
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now