Write file to specific network address.

M

MarMo

Hello ,

I'm trying to write a textfile from a table to a specific network
address like 255.255.31.31
I'm familiar with the Open Statement (Open "TESTFILE" For Input As
#1) but i just used it for local purposes only.

Now i'd like to write the file to a specific address so the user
does'nt need to move the file after creation af the file.
Is there a way to do this ?
Would this be possible ?? : Open "\\255.255.31.31\import
\textfile.txt" For Input As #1

Thanks for your help.
Mario
 
M

MarMo

Hello Douglas ,

No , I didn't try this because i was not sure this could work.
I'll try it asap and let you know if all went fine.

Reards
Mario
 
M

MarMo

Hello Douglas ,
It didn't work for me with the "\\255.255.32.31\......."
It worked if i mapped the networkdrive in the windows explorer.
So i'll go for this option.

Anyway , thanks for responding .
Regards
Mario
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top