Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-27-2012, 08:58 AM   #1
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
ftp from windows to ubuntu

I have to download alot of file from a windows archive machine to a linux box. The windows ftp server has a two minute timeout so I have to do it manually. It would be great to write up a script for this.

wget fails
casper@caspbox $ wget userass@
--2012-01-26 14:59:00-- ftp://user/pass@
=> `'
Resolving corearchive... failed: Temporary failure in name resolution.[/CODE}

ncftpget connects and it downloads just the first
directory files. Like it does not migrate down to
casper directory - it just download everything from the first directory you get when you connect to the ftp server.

ncftpget -u username -p password -R C:\_MNTPT_VOL1\Archive\SAVE\casper\

Last edited by casperdaghost; 01-27-2012 at 09:32 AM.
Old 01-27-2012, 09:08 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Have you tried something like PuTTY on the Windows side? That will let you ssh (and scp) back and forth. See

Hope this helps some.
Old 01-27-2012, 09:21 AM   #3
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
I dont have access to the windows box . it is out of state.

the ncftpget connects - it just has trouble resolving to the directory i need to download from .

When I connect to the windows box from my linuxbox via FTP it list the directories in a unix format. - it uses the forward slash instead of the windows backskash.

ftp> pwd
257 "/windowsarchive/Boston/beantown/Old_files" is current directory.
again ncftpget gets to the box - it just does not go to the directory i want

Last edited by casperdaghost; 01-27-2012 at 09:31 AM.
Old 01-27-2012, 12:05 PM   #4
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217

I would try to use LFTP if you're connecting from linux to windows box.

good luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate FTP / Scripting FTP Transfers files from linux to windows m/c ashishshukla Programming 5 05-26-2016 09:10 AM
ftp from windows 7 to linux ftp server shenno Linux - Newbie 6 12-26-2011 09:34 AM
FTP to windows daveant Linux - Newbie 1 12-14-2011 04:55 AM
Fedora 10 install via Windows XP filezilla ftp server; ftp Url error in kickstart O(V)eGA_l2el) Fedora 2 09-28-2009 09:40 AM
linux to windows ( ftp)!! justsimran Linux - General 3 04-02-2007 07:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration