Download FTP data using SSH [closed] - ssh

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need to transfer files from one server to the other. Normally I just download the files and then upload em to the new server using FTP.
Now I am facing a gazillion files with over 15GB data. Is it possible to download em directly from the new server, thereby skipping a step? I have full control over the second server, but just FTP rights on the old server.
Thanks

You could use wget on the new server to download the data from the old server. Something like
$ wget -r -N -l inf 'ftp://old.example.com/'
should do it. Consult the man page if you need anything more specific; wget is quite powerful.
Alternatively, FTP can be directly used to transfer from server to server. Since FTP uses separate control and data connections, the data connection can be established to a different host than that from which the control connection originates. This is done by switching one of the servers into passive mode. I think that SecureFX supports that mode of operation by opening connections to both servers and dragging-and-dropping files between them. However, I don't know if there is any free software that can do that.

If you have commandline access via SSH to your new server, just open a session on the new server and within that session do an FTP "mget" from the old server.
There is a summary of commandline FTP here: http://www.cyberciti.biz/faq/linux-unix-ftp-commands/

Related

FileZilla SFTP connection through intermediate SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am using PuTTY to connect to an intermediate Linux based server. On that server I use ssh to connect to the (Linux based) server I try to target. On that server I want to run a program, but I have to send it to that inner server from my PC. A direct connection is not possible.
At the moment I use PSFTP to the intermediate server and PuTTY+sftp from the intermediate server to the inner server to send the file, but this takes a lot of work to do everytime.
Is there a way to use FileZilla to set up an SFTP connection to the inner server through the intermediate server?
So in stead of:
PSFTP: PC -> user#intermediate
PuTTY: PC -> user#intermediate
sftp: user#intermediate -> user#inner
I want:
FileZilla: PC -> intermediate -> user#inner
You can setup an SSH tunnel (aka port forwarding) using PuTTY from the intermediate server to the target server and connect with FileZilla to the tunnel.
See details on port forwarding in PuTTY.
Or see a specific guide for setting up port forwarding to tunnel file transfer client (WinSCP particularly, though you can apply it to FileZilla easily).
Actually, WinSCP SFTP client has a (single step) tunneling functionality built in. So, with WinSCP, it is very easy to do what you ask for. See the Tunnel page of its Advanced Site Settings dialog.
(I'm the author of WinSCP)

Embedded Linux file transfer using serial port (also used for shell) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to transfer files between my desktop (Ubuntu) and an embedded Linux. The problem is that the only communication between the desktop and the embedded system is using the serial port. This same serial port is used to login from the desktop into the embedded system using sh (over screen or putty).
If it helps, the embedded system is the AT91SAM9G20EK running Angstrom.
I appreciate any suggestions.
you may want to try one of the x/y/z-modem family protocols.
A free package is here:
http://ohse.de/uwe/software/lrzsz.html
And it is very likely that you also have a package for Angstrom.
To transfer a file, when connected to the embedded device you just start the program rz on the embedded linux.
Then, in the terminal on your development machine you start the zmodem protocol and send the file. Once the transfer is done, the rz program on the target machine stops, and you'll find the file in the current directory.
You might use PPP to create a TCP/IP connection over the serial link which will then allow multiple TCP/IP application layer protocols to be used simultaneously and transparently including FTP, Telnet, rsh or ssh

What's the utility of SSH in a hosting? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Can anyone explain to me in layman what's SSH (Secure Shell) in a shared hosting?
I know you can access the web hosting server remotely using a command line interface using an application like Putty. But does it give you have more access to the server or it's another way of creating directories or uploading files and stuff like that? Or you can install extensions or do more advanced things?
Thanks.
Depends on the restriction the host sets, but it often lets you run command line utilities, often used for things like batch processing files, changing file permissions, etc.
In other words, SSH gives you access to do most things you'd be able to do if you were logged in to the machine locally (without root access).
It is just a security layer that encrypts all data flowing to and from the server so other people can't read it's contents. This is especially useful if you are dealing with sensitive information.

Working live at Server / SSH [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've inherited a website to build. I've just come to realization that the website's server is not typical to what I've always worked with; EG - I usually create an FTP with the hosting account and work live at http://www.mycoolclients.com/dev/index.html
I've found that I must connect using; SSH. I have little direct server experience. I'm told I need to work with linux or download something like 'putty'. How do I connect to work live at this situation?
Use sftp instead of ftp.
Learning how to use ssh would definitely be valuable as it's widely used and extremely useful, but in the immediate you can just use sftp for anything that you previously used ftp for. sftp will give you the same interface as ftp, but connects via ssh.
You didn't mention what ftp software you use, but many also support connecting via sftp.

How to download folder from putty using ssh client [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
how to download folder(contains folder inside folder and files) from putty using ssh client
i want download entire Dump to local Drive...
can any one guide me ...
You need to use some kind of file-transfer protocol (ftp, scp, etc), putty can't send remote files back to your computer. I use Win-SCP, which has a straightforward gui. Select SCP and you should be able to log in with the same ssh credentials and on the same port (probably 22) that you use with putty.
You cannot use PuTTY to download the files, but you can use PSCP from the PuTTY developers to get the files or dump any directory that you want.
Please see the following link on how to download a file/folder:
https://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html
If you need to download a folder via a Linux command try this out:
$ scp your_username#remotehost.edu:foobar.txt -r /some/local/directory
Sources:
http://www.linuxquestions.org/questions/linux-general-1/useing-scp-to-copy-entire-directories-with-sub-folders-362842/
http://www.hypexr.org/linux_scp_help.php
Related Post:
How to download a file from server using SSH?
8)
I use both PuTTY and Bitvise SSH Client. PuTTY handles screen sessions better, but Bitvise automatically opens up a SFTP window so you can transfer files just like you would with an FTP client.