 |
 |

03-30-2003, 08:32 AM
|
|
Newcomer
|
|
Join Date: Mar 2003
Location: London, UK
Posts: 2
|
|
Write to file on the net
|
Hey there,
this is my first post, and i hope i'm in the right place!
I'm making a program where i need to write to a file on the internet (in this case it's a .txt file)
After this, i need to read that same file, and load it into a text box...
i tried using .refresh, but it's still blank. I believe i'm not writing to the file correctly.... I'm also worried i need to use WINSOCK, but as i have learning edition, i am unable to use WINSOCK.
Can anyone give some help?
Thanks in advance!
|
|

03-30-2003, 08:44 AM
|
|
Iron-Fisted Programmer
Retired Moderator * Guru *
|
|
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
|
|
|
Assuming you mean write a file to a different computer on the internet
you would have to have a program on that different computer to receive
the file. FTP is the most obvious example of that. You have an FTP
client program and the other computer runs a FTP server program. To
write using windows file functions would require windows networking
access to the file. Over the internet this means something like a VPN
(vitual private network). If you can install a program on the server you
can write both the client and the server using winsock.
|
|

03-30-2003, 08:51 AM
|
|
Newcomer
|
|
Join Date: Mar 2003
Location: London, UK
Posts: 2
|
|
Quote: Originally Posted by Thinker Assuming you mean write a file to a different computer on the internet
you would have to have a program on that different computer to receive
the file. FTP is the most obvious example of that. You have an FTP
client program and the other computer runs a FTP server program. To
write using windows file functions would require windows networking
access to the file. Over the internet this means something like a VPN
(vitual private network). If you can install a program on the server you
can write both the client and the server using winsock.
Argh!! Just what i didn't want to hear!!
Lol, thanks for the reply thinker...
Hopefully i finish the program soon! :P
|
|

03-30-2003, 09:09 AM
|
 |
Senior Contributor
* Expert *
|
|
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
|
|
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)
"Perl - The only language that looks the same before and after RSA encryption."
|

03-30-2003, 09:34 AM
|
|
Iron-Fisted Programmer
Retired Moderator * Guru *
|
|
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
|
|
|
However since the learning edition doesn't compile machine code EXEs, I
don't think I would want to develop and install a server program made
with it on some other computer. And in any case it would also require
the VB runtimes installed there too. If the server supports ASP, putting
the text in a html form textarea and submitting it to an ASP page that
can then use the FileSystemObject to write the text to the server should
work.
|
|

03-30-2003, 10:49 AM
|
 |
Senior Contributor
* Expert *
|
|
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
|
|
|
Ahh, good point thinker. Without making EXE's, the class would be kinda useless, unless you wanted to run the IDE the whole time...
|
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)
"Perl - The only language that looks the same before and after RSA encryption."
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|