Solved

Arbitary FTP Command and INternetConnect()

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Standards for file storage. 3 25
MSDN Subscription - Azure and NFP's 3 69
Cannot debug web form sthrough Visual Studio 2013 2 70
What is MicroStrategy.NET? 2 65
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 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

10 Experts available now in Live!

Get 1:1 Help Now