hari9 has asked for the wisdom of the Perl Monks concerning the following question:

Hi dear all!

I'm trying to write/read files into/from a remote machine. The machine1,
I'm working on is linux, and I try writing into machine2, windows.

#open the directory you want to create file in. syntax of the form (i believe): ipaddress\C:\Users\folder_name\ opendir(DR,"\\\C$\Users\hari9\"); #create the file. open(file,">drive1.txt); for($i=0;$i<=10;$i++) {print file $i; } closedir (DR); close (file);

If I were to write from windows into a linux machine please suggest me the syntax. ( my linux machine is a virtual machine)

file::Remote wouldnt work since its only for unix.

Samba's downloads files are neither working on my windows.

Any help would be appreciated.