3.5 File Sharing Services خدمات مشاركة الملفات
File Transfer Protocol بروتوكول نقل الملفات
FTP was
developed to allow for data transfers between a client and a server. An FTP
client is an application which runs on a computer that is being used to push
and pull data from an FTP server.
وقد تم تطوير FTP ليسمح بنقل البيانات بين العميل والخادم.
يُعد عميل FTP
تطبيقًا يتم تشغيله على كمبيوتر يُستخدم لإرسال البيانات إلى خادم FTP
وسحبها منه.
Step 1 - The
client establishes the first connection to the server for control traffic using
TCP port 21. The traffic consists of client commands and server replies.
الخطوة 1 - يُنشئ العميل الاتصال الأول بالخادم
بهدف التحكم في المرور باستخدام المنفذ 21 في TCP.
تتكون حركة المرور من أوامر العميل وردود الخادم.
Step 2 - The
client establishes the second connection to the server for the actual data
transfer using TCP port 20. This connection is created every time there is data
to be transferred.
الخطوة 2 - يُنشئ العميل الاتصال الثاني بالخادم
لنقل البيانات الفعلية باستخدام المنفذ 20 في TCP.
ويتم إنشاء هذا الاتصال في كل مرة يوجد بيانات ينبغي نقلها.
الخطوة 3 - وقد يحدث نقل البيانات في أي اتجاه
من الاتجاهين. يستطيع العميل تنزيل (سحب) البيانات من الخادم أو تحميلها (وضعها)
إليه.
Server
Message Block بروتوكول
مجموعة رسائل الخادم
The Server Message Block (SMB) is a
client/server, request-response file sharing protocol. Servers can make their
own resources available to clients on the network.
بروتوكول مجموعة رسائل الخادم (SMB)
عبارة عن بروتوكول مشاركة ملفات العميل/الخادم: ويمكن للخوادم توفير الموارد
الخاصة بها للعملاء على الشبكة.
Three
functions of SMB messages:
•
Start, authenticate, and terminate sessions
بدء الجلسات ومصادقتها وإنهاؤها
•
Control file and printer access
التحكم في الوصول إلى الملفات
والطابعة
•
Allow an application to send or receive messages to or
from another device
السماح لأحد التطبيقات بإرسال رسائل إلى جهاز آخر أو استقبالها منه
Unlike the file sharing supported by FTP, clients establish a
long-term connection to servers. After the connection is established, the user
of the client can access the resources on the server as though the resource is
local to the client host.
وبخلاف مشاركة الملفات المدعومة بواسطة FTP،
يؤسس العملاء اتصالاً طويل المدى بالخوادم. وبعد أن يتم إنشاء الاتصال، يمكن
لمستخدم العميل الوصول إلى الموارد الموجودة على الخادم كما لو كان المورد محليًا
للمضيف العميل.