How to save a file directly into windows from UNIX?

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 08-02-2015
How to save a file directly into windows from UNIX?


How can i save a file directly into my windows file system by running a shell script from my unix file system.

I need to fetch data from a database and save it in a file. Since the data downloaded from database is huge, if i save it in the unix file system, the space in my home directory gets filled up very soon. so, i used to download data on small chunks and transfer the file to my windows desktop using ftp.
FTP takes a lot of time to transfer the data file from unix to windows. SO my requirement is can i directly save the data fetched from DB in wondows filesystem so that i can avoid FTP. If so please explain me.

I don't know how to mount windows file system to unix.
# 2  
Old 08-02-2015
You don't state which Unix operating system or which Windows version it is. Please enlighten us.

I would say that you probably need to configure and/or install a NFS server (not just NFS client) on your Windows box. Microsoft sometimes provide this as an add-on or sometimes it's built-in depending on whether you are talking desktop or exact server version. You will need to research that on the basis of exactly what Windows OS you are running. Also make a note of which version of NFS (2,3,or 4) the Windows is supporting.

Then, after that you should be able to configure and publish a NFS handle on your network from the Window box which you can mount in the usual way on your Unix box (depending on which Unix O/S it is). This filesystem will then be still under the management of the Windows OS but directly accessible from Unix.

Please provide more information on your environment(s).

Last edited by hicksd8; 08-02-2015 at 01:14 PM..
# 3  
Old 08-02-2015
I don't think ftp adds that much overhead, so don't expect too much performance improvements using other methods/mechanisms.
I guess you can "share" your home directory, which is done by using the smb protocol (CIFS). Try using the samba client tools to copy data to your shared home dir.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Multiple input and save in windows format cmccabe Shell Programming and Scripting 6 03-19-2015 05:47 PM
Need help on moving .csv file from UNIX to windows file path lakshmanraok117 UNIX for Advanced & Expert Users 1 12-13-2013 05:10 AM
Script to port a file from unix and save in windows dll_fpga Shell Programming and Scripting 1 07-08-2012 01:52 AM
Can Unix access Windows' File through Command Prompt in Unix jessy83 UNIX Desktop Questions & Answers 5 12-22-2011 03:19 PM
UNIX script to FTP file from UNIX server to windows himakiran9 Shell Programming and Scripting 2 11-02-2011 03:35 AM
kill process from a file or directly with top chandro Shell Programming and Scripting 8 02-25-2011 02:59 PM
Batch job in unix server to move the pdf file from unix to windows. ger199901 Shell Programming and Scripting 1 09-17-2010 03:08 AM
[Bash]Attempting to Merge text from one file into another file at the line directly under a word efciem Shell Programming and Scripting 5 05-23-2010 10:55 AM
Save cURL verbose output to file or do it like browser "save as.." crabmeat Shell Programming and Scripting 0 01-23-2010 05:49 PM
Copy a windows CVS file to the unix server as a svs file zhegal UNIX for Dummies Questions & Answers 1 11-26-2009 03:48 PM
Save Excel file as .txt in UNIX format jroyalty UNIX for Dummies Questions & Answers 2 04-08-2009 03:46 PM
Moving File from Unix to windows shamarty UNIX for Dummies Questions & Answers 9 10-12-2008 09:20 AM
transfer file from unix to windows on same PC monika UNIX for Dummies Questions & Answers 4 05-28-2008 07:35 AM
Opening a Unix File in Windows. a439511 UNIX for Dummies Questions & Answers 6 03-07-2008 05:13 AM
can unix printing directly to ip address maguired UNIX for Dummies Questions & Answers 4 10-22-2004 12:43 PM