Monday, May 8, 2023

File Transfer Protocol फाइल ट्रांसफर प्रोटोकॉल (FTP)

FTP :- FTP (File Transfer Protocol) is a standard network protocol used for transferring files between a client and a server over a computer network, such as the internet. It provides a simple and reliable method for uploading, downloading, and managing files on remote servers.
FTP :- FTP (फाइल ट्रांसफर प्रोटोकॉल) एक मानक नेटवर्क प्रोटोकॉल है जिसका उपयोग क्लाइंट और सर्वर के बीच कंप्यूटर नेटवर्क, जैसे कि इंटरनेट पर फ़ाइलों को स्थानांतरित करने के लिए किया जाता है। यह दूरस्थ सर्वर पर फ़ाइलों को अपलोड करने, डाउनलोड करने और प्रबंधित करने के लिए एक सरल और विश्वसनीय तरीका प्रदान करता है।




Characteristics of FTP:-
एफ़टीपी की विशेषताएं:-

1. Client-Server Model: FTP operates in a client-server model. The client is typically an FTP client software, while the server is an FTP server software. The client establishes a connection to the server and issues FTP commands to request file transfers or perform file management operations.
1. क्लाइंट-सर्वर मॉडल: एफ़टीपी क्लाइंट-सर्वर मॉडल में काम करता है। क्लाइंट आमतौर पर एक FTP क्लाइंट सॉफ्टवेयर होता है, जबकि सर्वर एक FTP सर्वर सॉफ्टवेयर होता है। क्लाइंट सर्वर से एक कनेक्शन स्थापित करता है और फ़ाइल स्थानांतरण का अनुरोध करने या फ़ाइल प्रबंधन संचालन करने के लिए FTP कमांड जारी करता है।

2. Connection Modes: FTP supports two connection modes: Active mode and Passive mode. In Active mode, the FTP server initiates the data connection back to the client for file transfers. In Passive mode, the client initiates both the control and data connections to the server. Passive mode is commonly used when the client is behind a firewall or network address translation (NAT) device.
2. कनेक्शन मोड: एफ़टीपी दो कनेक्शन मोड का समर्थन करता है: सक्रिय मोड और निष्क्रिय मोड। सक्रिय मोड में, एफ़टीपी सर्वर फ़ाइल स्थानांतरण के लिए क्लाइंट को डेटा कनेक्शन वापस शुरू करता है। निष्क्रिय मोड में, क्लाइंट सर्वर पर नियंत्रण और डेटा कनेक्शन दोनों आरंभ करता है। निष्क्रिय मोड का आमतौर पर उपयोग तब किया जाता है जब क्लाइंट फ़ायरवॉल या नेटवर्क एड्रेस ट्रांसलेशन (NAT) डिवाइस के पीछे होता है।

3. Command-Response Structure: FTP uses a command-response structure for communication between the client and server. The client sends FTP commands, such as "GET" to download a file or "PUT" to upload a file, and the server responds with status codes and messages to indicate the success or failure of the requested operation.
3. कमांड-रिस्पांस स्ट्रक्चर: एफ़टीपी क्लाइंट और सर्वर के बीच संचार के लिए कमांड-रिस्पांस स्ट्रक्चर का उपयोग करता है। क्लाइंट फ़ाइल डाउनलोड करने के लिए "GET" या फ़ाइल अपलोड करने के लिए "PUT" जैसे एफ़टीपी कमांड भेजता है, और सर्वर अनुरोधित ऑपरेशन की सफलता या विफलता को इंगित करने के लिए स्थिति कोड और संदेशों के साथ प्रतिक्रिया करता है।

4. File Transfer Modes: FTP supports different file transfer modes. The two main modes are ASCII mode and Binary mode. ASCII mode is used for transferring text files, while Binary mode is used for non-text files, such as images, executables, or compressed files. The appropriate transfer mode is selected based on the type of file being transferred.
4. फाइल ट्रांसफर मोड: एफ़टीपी विभिन्न फाइल ट्रांसफर मोड का समर्थन करता है। ASCII मोड और बाइनरी मोड दो मुख्य मोड हैं। ASCII मोड का उपयोग पाठ फ़ाइलों को स्थानांतरित करने के लिए किया जाता है, जबकि बाइनरी मोड का उपयोग गैर-पाठ फ़ाइलों के लिए किया जाता है, जैसे कि चित्र, निष्पादनयोग्य या संपीड़ित फ़ाइलें। स्थानांतरित की जा रही फ़ाइल के प्रकार के आधार पर उपयुक्त स्थानांतरण मोड का चयन किया जाता है।

5. File Management Operations: FTP provides various file management operations, including uploading (PUT), downloading (GET), renaming (RNFR/RNTO), deleting (DELE), creating directories (MKD), and listing directories (LIST or NLST). These operations allow users to manage files and directories on the remote FTP server.
5. फ़ाइल प्रबंधन संचालन: FTP विभिन्न फ़ाइल प्रबंधन संचालन प्रदान करता है, जिसमें अपलोडिंग (PUT), डाउनलोडिंग (GET), नाम बदलना (RNFR/RNTO), हटाना (DELE), निर्देशिका बनाना (MKD), और लिस्टिंग निर्देशिकाएँ (LIST या NLST) शामिल हैं। . ये ऑपरेशन उपयोगकर्ताओं को दूरस्थ FTP सर्वर पर फ़ाइलों और निर्देशिकाओं को प्रबंधित करने की अनुमति देते हैं।

6. Anonymous FTP: FTP servers often support anonymous FTP, which allows users to access publicly available files without the need for authentication. Anonymous FTP allows users to log in with a default username (usually "anonymous") and often requires the user to provide their email address as a password.
6. अनाम एफ़टीपी: एफ़टीपी सर्वर अक्सर अनाम एफ़टीपी का समर्थन करते हैं, जो उपयोगकर्ताओं को प्रमाणीकरण की आवश्यकता के बिना सार्वजनिक रूप से उपलब्ध फ़ाइलों तक पहुंचने की अनुमति देता है। अनाम एफ़टीपी उपयोगकर्ताओं को एक डिफ़ॉल्ट उपयोगकर्ता नाम (आमतौर पर "गुमनाम") के साथ लॉग इन करने की अनुमति देता है और अक्सर उपयोगकर्ता को पासवर्ड के रूप में अपना ईमेल पता प्रदान करने की आवश्यकता होती है।

7. Security: FTP does not provide built-in encryption for data transfer, so the data sent over FTP can be vulnerable to interception or eavesdropping. To address this, FTPS (FTP over SSL/TLS) and SFTP (SSH File Transfer Protocol) are secure alternatives that provide encryption for FTP connections.
7. सुरक्षा: एफ़टीपी डेटा ट्रांसफर के लिए बिल्ट-इन एन्क्रिप्शन प्रदान नहीं करता है, इसलिए एफ़टीपी पर भेजा गया डेटा इंटरसेप्शन या ईव्सड्रॉपिंग के लिए असुरक्षित हो सकता है। इसे संबोधित करने के लिए, FTPS (FTP over SSL/TLS) और SFTP (SSH फाइल ट्रांसफर प्रोटोकॉल) सुरक्षित विकल्प हैं जो FTP कनेक्शन के लिए एन्क्रिप्शन प्रदान करते हैं।


8. Ports: FTP uses two ports for communication. The control connection is established on TCP port 21, where the client and server exchange commands and responses. The data connection is established on a separate port, either in Active mode (FTP server initiates) or Passive mode (FTP client initiates).
8. पोर्ट: एफ़टीपी संचार के लिए दो पोर्ट का उपयोग करता है। नियंत्रण कनेक्शन टीसीपी पोर्ट 21 पर स्थापित है, जहां क्लाइंट और सर्वर कमांड और प्रतिक्रियाओं का आदान-प्रदान करते हैं। डेटा कनेक्शन एक अलग पोर्ट पर स्थापित किया गया है, या तो एक्टिव मोड (FTP सर्वर इनिशियलाइज़) या पैसिव मोड (FTP क्लाइंट इनिशियलाइज़) में।

No comments:

Post a Comment

Data Link control Flow and Error Control

 In data communication, Data Link Control (DLC) refers to the services and protocols that ensure reliable and efficient communication betwee...