Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

FTP from Unix to Windows

Hi, I am trying to set up a FTP process to download files from Windows 2008 server from Unix Server.

But i am not sure how can i ftp to Windows Server 2008 from Unix Prompt .  
I have set up a ftp services on win 2008 server and its running fine.
Can someone please let me know if i need to configure some thing on win 2008 server .
0
sunilbains
Asked:
sunilbains
1 Solution
 
Sudeep SharmaTechnical DesignerCommented:
From Unix box you need to run command ftp to connect, authenticate and download the files from the remote system. You would get some help from the link below:

http://www.cyberciti.biz/faq/linux-unix-ftp-commands/

Sudeep
0
 
djStraTTosCommented:
What you need is to set the users that will have permissions to access your FTP server.
Once you do that and you have set the permissions to the FTP root and/or sub-folders.

Then you will need to access the FTP server from Unix/Linux command line.

You can find the commands needed and some tests below:

http://linux.about.com/od/commands/l/blcmdl1_ftp.htm
0
 
mrandalCommented:
Instead of configuring FTP users and passwords, I often take the sfk command line tool for windows/linux, and run instant ftp (or http) server on one side:
sfk ftpserv

Open in new window

which gives access to current directory, and then sfk ftp client (or wget) at the other side:
sfk ftp serverip get filename.txt

Open in new window

however this is only for single user who wants to quickly transfer some files. no full feature ftp server.
0
 
arober11Commented:
Alternatively, and if present on the linux box, use the smbclient command. This uses Microsofts native SMB protocol rather than FTP, so will not require you to configure and start an FTP service on the Windows box e.g. http://www.techsneeze.com/smbclient-to-backup-files-from-linux-to-a-windows-server
0
 
serialbandCommented:
Just FYI:

FTP is sent over the network in plain text and therefore insecure for any private work.  Passwords are viewable to anyone scanning the network.  However, it is very fast.

If security is more important, you should share your windows folders and use smbclient on the linux side to connect and take advantage of windows authentication.  It will be slower for transfers.

You could also install putty on your windows 2008 server and use pscp.exe to copy files to your linux box.  You can script and schedule tasks with pscp if you need to automate file transfers.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now