Solved

Arbitary FTP Command and INternetConnect()

Posted on 1998-10-21
4
271 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 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

20 Experts available now in Live!

Get 1:1 Help Now