Click here to Skip to main content
16,017,881 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsystemtray icon Pin
locoone1-Jun-07 16:04
locoone1-Jun-07 16:04 
AnswerRe: systemtray icon Pin
Mark Salsbery2-Jun-07 5:42
Mark Salsbery2-Jun-07 5:42 
AnswerRe: systemtray icon Pin
Hamid_RT2-Jun-07 20:26
Hamid_RT2-Jun-07 20:26 
QuestionExtracting lparam from WM_KEYDOWN MSG Pin
aquawicket1-Jun-07 12:47
aquawicket1-Jun-07 12:47 
AnswerRe: Extracting lparam from WM_KEYDOWN MSG Pin
Mark Salsbery1-Jun-07 13:39
Mark Salsbery1-Jun-07 13:39 
GeneralRe: Extracting lparam from WM_KEYDOWN MSG Pin
aquawicket1-Jun-07 13:43
aquawicket1-Jun-07 13:43 
GeneralRe: Extracting lparam from WM_KEYDOWN MSG Pin
Mizan Rahman12-Aug-13 23:24
Mizan Rahman12-Aug-13 23:24 
QuestionUploading file via HTTP Pin
BitWare1-Jun-07 10:09
BitWare1-Jun-07 10:09 
sure hope there is a simple answer to this question, but for the life of me I can’t find one.

I’ve written a process that collects data from various Internet sites, re-organizes it, and then creates a new series of web pages. I want to share these pages with a user’s group that I am a member of. The problem is how to automatically upload the files to a Windows based Web Server.

I need to do this with Visual Studio 6.0 (not .net) talking to straight ASP (again, not .net).

I can’t use FTP because I am behind a firewall!

I have written a form that has a browse button that talks to an ASP uploader process on the server, and that works great. The problem is that you have to browse to each and every page every time you want to upload something. Browsers will not allow you to default the file path and submit the form “on-load”. If they did that someone could create a link that as soon as the page was loaded to your PC, it would automatically upload “CreditCardNumbers.txt” or any file they wanted to their server.

This process has to run in the background on its own. It has to monitor a directory, and when it sees a file in that directory, upload it to the web server. No human intervension.

So, here are the two questions:

1. Does anyone know how to emulate the “multipart/form-data” stream that is created by the browse button on a form upload process?
2. Is there another way to upload files without using FTP.

PS: This is my first post here, and it is always fair to give something if you want to receive something! If anyone would like information about how to write the SPIDER that will be the front end that feeds files to this uploader, just make a reply to this post and let me know how to go about exchanging private messages.

QuestionRe: Uploading file via HTTP Pin
David Crow1-Jun-07 10:19
David Crow1-Jun-07 10:19 
AnswerRe: Uploading file via HTTP Pin
BitWare1-Jun-07 10:29
BitWare1-Jun-07 10:29 
GeneralRe: Uploading file via HTTP Pin
David Crow1-Jun-07 10:33
David Crow1-Jun-07 10:33 
QuestionInterop couse in c++ Pin
includeh101-Jun-07 5:10
includeh101-Jun-07 5:10 
AnswerRe: Interop couse in c++ Pin
Mark Salsbery1-Jun-07 5:29
Mark Salsbery1-Jun-07 5:29 
QuestionProgrammatically find the version of MMC installed Pin
Mushtaque Nizamani1-Jun-07 4:33
Mushtaque Nizamani1-Jun-07 4:33 
QuestionRe: Programmatically find the version of MMC installed Pin
David Crow1-Jun-07 5:30
David Crow1-Jun-07 5:30 
AnswerRe: Programmatically find the version of MMC installed Pin
Mushtaque Nizamani1-Jun-07 5:34
Mushtaque Nizamani1-Jun-07 5:34 
QuestionRe: Programmatically find the version of MMC installed Pin
David Crow1-Jun-07 7:06
David Crow1-Jun-07 7:06 
QuestionBitmaps in a dialog Pin
SimplCodr1-Jun-07 4:10
SimplCodr1-Jun-07 4:10 
AnswerRe: Bitmaps in a dialog Pin
includeh101-Jun-07 5:15
includeh101-Jun-07 5:15 
GeneralRe: Bitmaps in a dialog Pin
SimplCodr1-Jun-07 6:36
SimplCodr1-Jun-07 6:36 
GeneralRe: Bitmaps in a dialog Pin
Mark Salsbery1-Jun-07 6:42
Mark Salsbery1-Jun-07 6:42 
GeneralRe: Bitmaps in a dialog Pin
SimplCodr1-Jun-07 6:57
SimplCodr1-Jun-07 6:57 
AnswerRe: Bitmaps in a dialog Pin
Hamid_RT1-Jun-07 5:27
Hamid_RT1-Jun-07 5:27 
GeneralRe: Bitmaps in a dialog Pin
SimplCodr1-Jun-07 6:39
SimplCodr1-Jun-07 6:39 
GeneralRe: Bitmaps in a dialog Pin
SimplCodr1-Jun-07 6:58
SimplCodr1-Jun-07 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.