Click here to Skip to main content
16,008,010 members
Home / Discussions / Web Development
   

Web Development

 
GeneralNeed Help f Pin
potdar_nitin10-Jun-05 16:46
potdar_nitin10-Jun-05 16:46 
GeneralRe: Need Help f Pin
NeverHeardOfMe11-Jun-05 0:22
NeverHeardOfMe11-Jun-05 0:22 
GeneralPS Pin
NeverHeardOfMe11-Jun-05 0:34
NeverHeardOfMe11-Jun-05 0:34 
GeneralRe: Need Help f Pin
Anonymous11-Jun-05 2:22
Anonymous11-Jun-05 2:22 
GeneralSimple Scrollbar Problem Pin
llp00na10-Jun-05 5:18
llp00na10-Jun-05 5:18 
GeneralRe: Simple Scrollbar Problem Pin
alex.barylski10-Jun-05 15:33
alex.barylski10-Jun-05 15:33 
GeneralRe: Simple Scrollbar Problem Pin
llp00na12-Jun-05 23:08
llp00na12-Jun-05 23:08 
GeneralShared Folders ... confused Pin
Roger Garrett10-Jun-05 4:40
Roger Garrett10-Jun-05 4:40 
I'm confused and hope someone can enlighten me.

I have successfully programmatically set up a "Shared Folder" on one computer. I want to access that folder and retrieve files from that folder, but do it from another computer. Both computers are connected to the Internet. It was my understanding that I could reference a file on the "other" computer with something like

"\\123.21.105.6\SharedFolder\Test.txt"

and that I could access it (from my C++ program)with something like:

FILE* theFile;
theFile = fopen("\\123.21.105.6\SharedFolder\Test.txt", "r");

But that doesn't work. It never succeeds in openning the file.

I've been looking all over the internet for information on how to do it correctly but I'm only getting more and more confused.

My impression (now) is that the above approach is wrong, and that there needs to be some kind of server running on the target computer and that I have to communicate with that server in order to retrieve the desired file, or that I have to use some kind of file transfer protocol (ftp?) in order to do it.

What I really need is some straightforward explanation or (ideally) actual C++ code that says, "you've got a file on another computer's shared folder, here's how to get it..."

But the best that I've come across are things like, "here's 100,000 lines of code, with 2,586 classes, and somewhere in there is the way to access files on another computer, have fun figuring out how."

Any help/advice on this would be greatly appreciated.

Roger Garrett

GeneralRe: Shared Folders ... confused Pin
markkuk10-Jun-05 6:42
markkuk10-Jun-05 6:42 
GeneralClient side Directory Searching Pin
richard.gould10-Jun-05 3:57
richard.gould10-Jun-05 3:57 
GeneralRe: Client side Directory Searching Pin
NeverHeardOfMe11-Jun-05 11:25
NeverHeardOfMe11-Jun-05 11:25 
GeneralWeb Form Paging Pin
sayedwasim10-Jun-05 3:07
sayedwasim10-Jun-05 3:07 
GeneralFile acces on NT4 domain Pin
Only in America9-Jun-05 10:00
Only in America9-Jun-05 10:00 
GeneralRe: File acces on NT4 domain Pin
Ian Darling9-Jun-05 21:12
Ian Darling9-Jun-05 21:12 
GeneralRe: File acces on NT4 domain Pin
Only in America10-Jun-05 6:07
Only in America10-Jun-05 6:07 
GeneralThis should be easy... Pin
Superman19329-Jun-05 4:20
Superman19329-Jun-05 4:20 
GeneralRe: This should be easy... Pin
DavidNohejl9-Jun-05 5:31
DavidNohejl9-Jun-05 5:31 
Questionjava script security problem? Pin
hassan azizi9-Jun-05 2:57
hassan azizi9-Jun-05 2:57 
AnswerRe: java script security problem? Pin
JKroschel13-Jun-05 9:26
JKroschel13-Jun-05 9:26 
GeneralRe: java script security problem? Pin
hassan azizi14-Jun-05 1:23
hassan azizi14-Jun-05 1:23 
GeneralRe: java script security problem? Pin
niansah13-Jun-05 22:52
niansah13-Jun-05 22:52 
GeneralRe: java script security problem? Pin
JKroschel14-Jun-05 6:31
JKroschel14-Jun-05 6:31 
GeneralRe: java script security problem? Pin
hassan azizi14-Jun-05 9:37
hassan azizi14-Jun-05 9:37 
GeneralRe: java script security problem? Pin
hassan azizi14-Jun-05 9:41
hassan azizi14-Jun-05 9:41 
GeneralIE settings and registry Pin
Usman Tasleem Akshaf8-Jun-05 19:36
Usman Tasleem Akshaf8-Jun-05 19:36 

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.