hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : FTP Transfer in PuTTy
Reply

Forum Jump

FTP Transfer in PuTTy

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-02-2009, 07:21 PM
TailoredVPS TailoredVPS is offline
Web Hosting Master
 
Join Date: Aug 2008
Location: Vancouver, Canada
Posts: 650

FTP Transfer in PuTTy


I am trying to transfer a 1.1GB file from one of my servers to one of my servers in another data center.

What command would I use inside PuTTy to transfer the file via FTP, not SFTP.

Thanks!

__________________
Tailored VPS offers fully customizable VPS Hosting
Powered by OpenVZ | Servers located in the USA | 99.9% Uptime



Sponsored Links
  #2  
Old 05-02-2009, 07:28 PM
Robert vd Boorn Robert vd Boorn is offline
cout << m_subtitle;
 
Join Date: Jan 2007
Location: /dev/null
Posts: 3,691
wget -> wput ?
http://wput.sourceforge.net/
http://wput.sourceforge.net/wput.1.html


or put or mput (multiple files)

  #3  
Old 05-02-2009, 08:44 PM
cedced cedced is offline
Web Hosting Guru
 
Join Date: Aug 2005
Posts: 280
How to install wput ?

__________________
╠══ Cool Wallpapers ══╡
║►►► Optimize your website


Sponsored Links
  #4  
Old 05-02-2009, 08:45 PM
mwatkins mwatkins is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Vancouver
Posts: 2,416
What's wrong with scp? (assuming you have an account on each server)

On destination server, in destination directory:

scp foo@bar.server.com:/path/to/big/file .

__________________
“Even those who arrange and design shrubberies are under
considerable economic stress at this period in history.”

  #5  
Old 05-02-2009, 09:07 PM
Robert vd Boorn Robert vd Boorn is offline
cout << m_subtitle;
 
Join Date: Jan 2007
Location: /dev/null
Posts: 3,691
Quote:
Originally Posted by cedced View Post
How to install wput ?
PHP Code:
wget http://freefr.dl.sourceforge.net/sourceforge/wput/wput-0.6.1.tgz
tar -xvzf wput-0.6.1.tgz
cd wput
-0.6.1
./configure
make install


----------------
Wput installedSee 'wput -h' or 'man wput' for usage information.
Further documentation is located in the doc/USAGE.* files.

Wput is not perfectso please report any bugs you notice (see BUGS-section
in the manpage
).
---------------- 
PHP Code:
wput  --help


Usage
wput [options] [file]... [url]...
  
url        ftp://[username[:password]@]hostname[:port][/[path/][file]]

Startup:
  -
V, --version         Display the version of wput and exit.
  -
h, --help            Print this help-screen
  
-b, --background      go to background after startup

Logging 
and input file:
  -
o,  --output-file=FILE      log messages to FILE
  
-a,  --append-output=FILE    append log messages to FILE
  
-q,  --quiet                 quiet (no output)
  -
v,  --verbose               be verbose
  
-d,  --debug                 debug output
  
-nv, --less-verbose          be less verbose
  
-i,  --input-file=FILE       read the URLs from FILE
  
-s,  --sort                  sorts all input URLs by server-ip and path
       
--basename=PATH         snip PATH off each file when appendig to an URL
  
-I,  --input-pipe=COMMAND    take the output of COMMAND as data-source
  
-R,  --remove-source-files   unlink files upon successful upload

Upload
:
       --
bind-address=ADDR     bind to ADDR (hostname or IPon local host
  
-t,  --tries=NUMBER          set retry count to NUMBER (-1 means infinite)
  -
nc, --dont-continue         do not resume partially-uploaded files
  
-u,  --reupload              do not skip already completed files
       
--skip-larger           do not upload files if remote size is larger
       
--skip-existing         do not upload files that exist remotely
  
-N,  --timestamping          don't re-upload files unless newer than remote
  -T,  --timeout=10th-SECONDS  set various timeouts to 10th-SECONDS
  -w,  --wait=10th-SECONDS     wait 10th-SECONDS between uploads. (default: 0)
       --random-wait           wait from 0...2*WAIT secs between uploads.
       --waitretry=SECONDS     wait SECONDS between retries of an upload
  -l,  --limit-rate=RATE       limit upload rate to RATE
  -nd, --no-directories        do not create any directories
  -Y,  --proxy=http/socks/off  set proxy type or turn off
       --proxy-user=NAME       set the proxy-username to NAME
       --proxy-pass=PASS       set the proxy-password to PASS

FTP-Options:
  -p,  --port-mode             no-passive, turn on port mode ftp (def. pasv)
  -A,  --ascii                 force ASCII  mode-transfer
  -B,  --binary                force BINARY mode-transfer

See wput(1) for more detailed descriptions of the options.
Report bugs and suggestions via SourceForge at
http://sourceforge.net/tracker/?group_id=141519 

  #6  
Old 05-02-2009, 10:16 PM
FiberPeer FiberPeer is offline
Web Hosting Master
 
Join Date: Jun 2006
Location: NYC
Posts: 1,408
Easiest is SFTP if you have SSH access. FTP would work the same but an example....:

Say your filename is kevin.txt. Now..go to the directory of the file...
Example:
Code:
kevin@solaptop:~$ sftp admin@fakeserver.com
Connecting to fakeserver.com...
Password: 
sftp> put kevin.txt
Uploading test to /usr/home/admin/kevin.txt
kevin.txt                                                                                       100%    0     0.0KB/s   00:00    
sftp>
Best of luck!

  #7  
Old 05-03-2009, 01:03 AM
Kohrar Kohrar is offline
Junior Guru
 
Join Date: Apr 2007
Location: Calgary, Canada
Posts: 200
AHN-Jay, If you want to transfer a file to another server using FTP, use the ftp command:

PHP Code:
ftp my-server.com
Connected to my
-server.com (xxx.xxx.xxx.xxx).
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 23:59. Server port21.
220 You will be disconnected after 15 minutes of inactivity
.
Name (my-server.com:user): my_username
331 User my_username OK
Password required
Password
:
230-User my_username has group access to:  my_username
230 OK
Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftpput somefile.tar.gz 

  #8  
Old 05-03-2009, 01:23 AM
TailoredVPS TailoredVPS is offline
Web Hosting Master
 
Join Date: Aug 2008
Location: Vancouver, Canada
Posts: 650
Thanks for the replies. I used wput to transfer the file.

Thanks again.

  #9  
Old 05-03-2009, 04:03 AM
mugo mugo is online now
Intangible Asset Appraiser
 
Join Date: Mar 2009
Location: Austin Tx
Posts: 1,974
rsync -avz e -ssh /local/path/file remotehost.com:/remote/path/file

Fast, easy. I do it daily.

__________________
This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)


Reply

Related posts from TheWhir.com
Title Type Date Posted
Cloud Providers Could Face Scrutiny as Europe’s Privacy Watchdog Calls for Stronger Data Protection Web Hosting News 2014-07-16 14:16:16
European ISPs BT and Alcatel-Lucent Reach 'Fastest Ever' Broadband Speeds Web Hosting News 2014-01-24 14:25:41
IBM Acquisition of Aspera Expected to Boost File Transfer Speeds in Hosted Applications Web Hosting News 2013-12-23 17:56:08
WiredTree Upgrades Resources for VPS and Hybrid Hosting Plans Web Hosting News 2013-08-07 14:21:37
Web Host AYKsolutions Launches Unmetered Linux VPS Hosting at Chicago Data Center Web Hosting News 2013-01-07 16:23:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?