Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to copy files from a GNU/Linux host to a windows host. The windows host is inside a firewall and Linux host is outside the firewall.

I need to issue a command from Windows box that will copy files from Linux box.

Could any one let me know the possible ways to do it?

share|improve this question

closed as not a real question by Bobby, techie007, ChrisF, BBlake, 8088 Nov 6 '12 at 16:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

4  
We need more information to answer this. Are the files on the same computer? (shared FAT32 folder, ex2fs driver for windows), are they on different hosts (scp would do nicely in that case), .... –  Hennes Nov 5 '12 at 16:39
    
you can also use services like Dropbox if you find WinSCP, Samba and other tools more complicated –  bakytn Nov 5 '12 at 17:14
    
Hi Hennes, The files are located in Unix box and I need to copy those files in to a windows box. Windows box is with in the firewall and Linux box out side the firewall. I am planning to create a command line interface that need to connect to the linux box and copy the files in to Windows box. –  Sasidharan Nov 5 '12 at 20:55
add comment

4 Answers

I wrote an Open Source project called cross copy to do exactly this kind of inter-device file transfer via web browser (and Smartphones btw).

  1. Open http://www.cross-copy.net on both computers (on Linux you can also use the command line client).
  2. enter the same code word on both websites
  3. start uploading files --- they will instantly appear on the other side for downloading
share|improve this answer
add comment

I copy files from linux to windows (dual boot) using an application called ext2explore. http://sourceforge.net/projects/ext2read/files/Ext2Read%20ver%202.0/ext2explore%202.0%20beta/

share|improve this answer
    
I do not think this is what Sasidharan needed for their situation. –  zeel Nov 6 '12 at 4:21
    
Agreed. But that was not clear from the original question. –  Hennes Nov 6 '12 at 15:05
add comment

as Hennes mentioned more info would be helpful. If you insist on using a command line interface the built in ftp command could do the trick as long as your linux box allows for ftp access. If you prefer a GUI tool, take a look at WinSCP, same story with your linux box, it has to allow you in. WinSCP also can do FTP.

share|improve this answer
    
Hi , I need to create a command line interface that commincate the linux box from the windows box and copy the files from the linux box to the windows box. –  Sasidharan Nov 5 '12 at 20:56
    
If your linux box allows ftp-access you could use the ftp command line tool that comes with Windows. You can also use textfiles to hold your command sequences and run it using those. nsftools.com/tips/MSFTP.htm be aware though that ftp is rather insecure. –  TheUser1024 Nov 5 '12 at 21:07
add comment

See if there's a way to install Samba on your flavour of Linux. If there is, you will be able to access 'shared folder' on the Linux machine much like it were a Windows machine.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.