I want to know which is fast -->
FTP or SSH ?
Is there any better alternative ?
21 11267
I want to know which is fast -->
FTP or SSH ?
Is there any better alternative ?
It depends on what you are trying to do.
What are you trying to do? File sharing? Uploading? Remote shell? X11 Forwarding?
Please elaborate.
I want to upload and download some files from a remote machine.
I want to upload and download some files from a remote machine.
How remote? Is it the local LAN?
Basically FTP will be faster no matter what, if you are only trying to trasfer a file to another computer.
FTP stands for file transfer protocol
SSH stands for secure shell (note the security)
Security is great, but it slows down the transaction, very slightly probably not even noticeable.
Basically FTP will be faster no matter what, if you are only trying to trasfer a file to another computer.
FTP stands for file transfer protocol
SSH stands for secure shell (note the security)
Security is great, but it slows down the transaction, very slightly probably not even noticeable.
Welcome to The Scripts combas! Thanks for your response.
I agree entirely with your accurate summary of FTP and SSH, however, in addressing the second part of the question, there are a lot of other, quicker alternatives.
Samba can be used if the computers are on the same network. AFP is another protocol which is quicker than FTP. And if you want to get into really quick-and-dirty solutions, piping files through nc is going to be the quickest, dirtiest technique of all.
How remote? Is it the local LAN?
No its not the local LAN.
Its the distance of India and US .
You can use Secured FTP (SFTP ) instead of FTP.it is available in the net and you can download it. Some packadges include both SSH and SFTP.
With my regards
The answer is: both :) Use FTP to upload a Zip and SSH to unzip it there. If you don't have ssh connectivity you may use ZipDeploy.
Welcome to theScripts winnie.
Please refrain from placing commercial software advertisements in our message boards.
whatever it is, FTP or SSH, it also depends on the speed of your network connections.
Welcome to The Scripts combas! Thanks for your response.
I agree entirely with your accurate summary of FTP and SSH, however, in addressing the second part of the question, there are a lot of other, quicker alternatives.
Samba can be used if the computers are on the same network. AFP is another protocol which is quicker than FTP. And if you want to get into really quick-and-dirty solutions, piping files through nc is going to be the quickest, dirtiest technique of all.
Can you tell me more about AFP and piping files through nc ?
Can you tell me more about AFP and piping files through nc ?
AFP is Apple's proprietary network sharing. It works quite well, and there are utilities to use it on both Windows and Linux.
nc is the tool netcat. It is a very handy thing to know how to use.
On your server you would: -
$ nc -l 4999 | df of=filename.ext
-
and on the client you would -
$ dd if=filename.ext | nc server.com 4999
-
Be careful with this technique, as It is quite insecure. Anyone can send data between when you open the port and when the first connection closes.
AFP is Apple's proprietary network sharing. It works quite well, and there are utilities to use it on both Windows and Linux.
Is AFP available in Debian ?
nc is the tool netcat. It is a very handy thing to know how to use.
On your server you would: -
$ nc -l 4999 | df of=filename.ext
-
and on the client you would -
$ dd if=filename.ext | nc server.com 4999
-
Be careful with this technique, as It is quite insecure. Anyone can send data between when you open the port and when the first connection closes.
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
Is AFP available in Debian ?
Dunno. Google it.
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
No, it means if someone connects to the port before you, they could send anything and have it end up in that file.
Or, if they were watching your traffic, they could inject their own data into it.
No, it means if someone connects to the port before you, they could send anything and have it end up in that file.
But if someone is already connected to a port then how can I connect ?
That means if there is a file transfer going on between two machines through a port and if a third machine also does some transfer through the same port then the file might get corrupt ?
No it will not corrupt. Each connection to the FTP daemon is unique because of different source ports.
No it will not corrupt. Each connection to the FTP daemon is unique because of different source ports.
So what is the problem with Netcat ?
So what is the problem with Netcat ?
The netcat example presented by Motoma is typically used for network disk (OS) cloning/imaging. For your questoin, he is best position to answer. With regard to your original question about which is faster FTP or SSH. I can only say based on my experience, they are quite the same and i am talking about using passwords. (SSH can also use public keys). If SSH is using public keys, it may be a bit slower in the authentication part, but after that the data transfer speed depends on the link.
You can use Secured FTP (SFTP ) instead of FTP.it is available in the net and you can download it. Some packadges include both SSH and SFTP.
With my regards
Well, AFAIK the SFTP does not means for "Secured FTP" but rather "SSH File Transfer Protocol" and moreover does have nothing common with FTP. It's completely different protocol. On the other hand the FTPS is FTP over SSL channel (similar to HTTPS which is HTTP over SSL channel).
[removed URL]
Hi All,
This is my first ques?
can any bady tell what is the diff b/w koen shell and bash shell and cshell?
Hi All,
This is my first ques?
can any bady tell what is the diff b/w koen shell and bash shell and cshell?
You should start your own thread for this.
Have you Googled those terms?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Uwe Mayer |
last post by:
Hi,
Using PyQt I got a QListView with about 800 entries now (but its intended to
be scalable up to about 3000).
The first column contains numerical data. Now Qt does the sorting all by its
self...
|
by: Neil |
last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb
with a SQL 7 back end, with forms bound using ODBC linked tables. At our
remote location (accessed via a T1 line) the time...
|
by: Marc Mones |
last post by:
Hello,
I'working with IBM DB2 V8.1 and CLI/ODBC. I've got a problem with the
following
statement:
********************************************************************************
SELECT...
|
by: GS |
last post by:
The stdint.h header definition mentions five integer categories,
1) exact width, eg., int32_t
2) at least as wide as, eg., int_least32_t
3) as fast as possible but at least as wide as, eg.,...
|
by: Olie |
last post by:
This post is realy to get some opinions on the best way of getting fast
comunication between multiple applications. I have scowered the web for
imformation on this subject and have just found...
|
by: javuchi |
last post by:
I just want to share some code with you, and have some comments and
improvements if you want.
This header file allocates and add and delete items of any kind of data
from a very fast array:
...
|
by: hstagni |
last post by:
Where can I find a library to created text-based windows applications?
Im looking for a library that can make windows and buttons inside
console.. Many old apps were make like this, i guess
...
|
by: Juha Nieminen |
last post by:
If I'm not completely mistaken, the only reason why std::list::size()
may be (and usually is) a linear-time operation is because they want
std::list::splice() to be a constant-time operation, and...
|
by: Vinod Sadanandan |
last post by:
Fast-Start Failover An Overview In Dataguard Environment
=============================================================================
This article describes the automatic fast start failover...
|
by: mike3 |
last post by:
Hi.
(Xposted to both comp.lang.c++ and comp.programming since I've got
questions related to both C++ language and general programming)
I've got the following C++ code. The first routine runs in...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |