• FtpGoServer应用程序的设计是一个简单、快速的和非常小的Java FTP服务器,可以用你的电脑上,Mac或Linux机允许远程FTP访问选定的一部分的计算机文件系统。

    命令支持的用户通过,系统,PWD,港口,因为、列表、商店,RETR,MKD,CWD、大小、CDUP,DELE,低、类型、RNFR,RNTO和退出。

    显而易见文件系统根客户设定在启动时。 这是唯一设置保持在磁盘上,那就是记得之间的会议。

    CWD命令是不允许做的工作目录的任何不下的根源或者是根本身。

    该CDUP命令停止在根本不去上面。

    键入命令总能得到积极的响应,但没有任何意义。 所有数据转移将发生在二(I型)的格式除外输出的名单的命令其是在Ascii(A)型格式。

    如果没有密码设然后通过的命令已经没有意义但仍然得到积极的回应。

    用户的命令始终得到积极的响应,但已经没有意义,安全检查以及通过只。

    低可以只删除空的目录。

    密码进入运行时,并不存放在磁盘上。

    PWD命令的反应是虚拟的路名相对于分配扎根于当地文件系统。 这地方根本身被指定为"/". 完全地方的路径永远不会返回。

    同时读应该因为没有问题但是没有明确的文件锁定完成,当一个文件正在编写的。 潜在的平台文件系统将确定如何解决冲突的。 如果文件不能被打开一个操作,因为它正在使用的另一个目的的另一个用户然后一个例外可能会被抛出。 这个例外会被抓住通过的服务器编码和连接试图打开将会关闭。

    只有记录的活动而发生的服务器运行为的总的上载和下载(所示的兆字节)。 此外Java控制台,如果它打开会告诉任何错误的情况下发生并本可以帮助解决问题。

    服务器使用的默认设置的所有Java插座。 控制插座可以选择有时间的推定以便在无法控制的通道的活动,为20分钟,会议将结束通过切断。

    字符编码

    字符编码读和写上的控制插座被明确定为"US-ASCII"的。

    很多对象,主要是串,期间创建一个FTP届会议。 垃圾收集被请求后一个清单的命令已经提供服务,当个人登录届会议结束和线退出。

  • के FtpGoServer आवेदन डिजाइन किया गया था होना करने के लिए एक सरल, तेज और बहुत छोटे जावा से FTP सर्वर है कि इस्तेमाल किया जा सकता है अपने पीसी पर, मैक या लिनक्स मशीन की अनुमति देने के लिए दूरदराज के FTP का उपयोग करने के लिए एक चयनित भाग की एक कंप्यूटर की फाइल सिस्टम है ।

    समर्थित आदेशों हैं उपयोगकर्ता, प्रणाली, पीडब्ल्यूडी, बंदरगाह, PASV, सूची, STOR, RETR, MKD, CWD, आकार, CDUP, DELE, RMD, प्रकार, RNFR, RNTO और छोड़ दिया.

    स्पष्ट फ़ाइल सिस्टम रूट ग्राहकों के लिए सेट है, स्टार्टअप पर. यह केवल स्थापित कर रखा है कि डिस्क पर और है कि याद किया जाता है सत्र के बीच में.

    के CWD आदेश की अनुमति नहीं है बनाने के लिए काम कर निर्देशिका है कि कुछ भी नहीं नीचे जड़ या जड़ है ही ।

    के CDUP आदेश पर बंद हो जाएगा जड़ और नहीं कर सकते हैं ऊपर जाना ।

    प्रकार कमांड हमेशा एक सकारात्मक प्रतिक्रिया है, लेकिन कोई अर्थ नहीं है । सभी डेटा स्थानान्तरण में घटित होगा बाइनरी (प्रकार मैं) के प्रारूप को छोड़कर के लिए उत्पादन सूची से आदेश है, जो में डिफ़ॉल्ट Ascii (एक प्रकार) प्रारूप.

    अगर कोई पासवर्ड सेट कर रहे हैं, तो पारित आदेश का कोई अर्थ नहीं है, लेकिन अभी भी एक सकारात्मक प्रतिक्रिया है ।

    उपयोगकर्ता आदेश हमेशा एक सकारात्मक प्रतिक्रिया, लेकिन कोई अर्थ नहीं है, सुरक्षा जाँच की है, साथ ही पारित.

    RMD कर सकते हैं केवल दूर खाली निर्देशिका.

    पासवर्ड प्रवेश कर रहे हैं क्रम में और कभी नहीं कर रहे हैं डिस्क पर संग्रहीत है ।

    PWD कमांड प्रतिक्रिया वर्चुअल पथ नाम के सापेक्ष सौंपा जड़ में स्थानीय फ़ाइल सिस्टम है । स्थानीय जड़ ही के रूप में नामित है "/". पूरा स्थानीय pathnames कभी नहीं लौट रहे हैं.

    एक साथ पढ़ता है का कारण होना चाहिए कोई समस्या नहीं हालांकि वहाँ है कोई स्पष्ट फ़ाइल लॉकिंग किया है, जब एक फ़ाइल के लिए लिखा जा रहा है । अंतर्निहित मंच फ़ाइल सिस्टम का निर्धारण करेगा कैसे संघर्ष को हल कर रहे हैं. यदि एक फ़ाइल को खोला नहीं जा सकता के लिए एक ऑपरेशन है क्योंकि यह इस्तेमाल किया जा रहा है एक अन्य उद्देश्य के लिए किसी अन्य उपयोगकर्ता द्वारा फिर एक अपवाद होने की संभावना हो जाएगा फेंक दिया. इस अपवाद से पकड़ा जाएगा सर्वर कोड और कनेक्शन प्रयास को खोलने बंद कर दिया जाएगा ।

    केवल प्रवेश करने की गतिविधि है कि जगह लेता है जब तक सर्वर चल रहा है योग के अपलोड और डाउनलोड (में दिखाया गया मेगाबाइट) है । इसके अतिरिक्त जावा कंसोल, अगर यह खुला दिखाने के लिए, किसी भी त्रुटि की स्थिति है कि उत्पन्न कर रहे हैं और इस सहायता कर सकते हैं समस्या को सुलझाने.

    सर्वर का उपयोग करता है के लिए डिफ़ॉल्ट सेटिंग्स सभी जावा कुर्सियां. नियंत्रण सॉकेट सकते हैं वैकल्पिक रूप से, एक समय बाहर सेट इतना है कि उसके बाद कोई नियंत्रण चैनल गतिविधि के 20 मिनट के लिए, एक सत्र समाप्त हो जाएगा द्वारा तोड़.

    वर्ण एन्कोडिंग

    चरित्र एन्कोडिंग के लिए पढ़ता है और लिखते हैं पर कंट्रोल गर्तिका कर रहे हैं स्पष्ट रूप से सेट करने के लिए "US-ASCII".

    वस्तुओं का एक बहुत कुछ है, मुख्य रूप से तार, कर रहे हैं बनाया के दौरान एक FTP सत्र. कचरा संग्रहण का अनुरोध किया है के बाद, एक सूची का आदेश दिया गया है सेवित और जब एक व्यक्तिगत लॉगिन सत्र समाप्त होता है और धागा बाहर निकलता है ।

  • The FtpGoServer application was designed to be a simple, fast and very small Java FTP server that can be used on your PC, Mac or Linux machine to allow remote FTP access to a selected part of a computer's file system.

    Commands supported are USER, PASS, SYST, PWD, PORT, PASV, LIST, STOR, RETR, MKD, CWD, SIZE, CDUP, DELE, RMD, TYPE, RNFR, RNTO and QUIT.

    The apparent file system root for clients is set at startup. This is the only setting that is kept on disk and that is remembered between sessions.

    The CWD command is not allowed to make the working directory anything that is not below the root or is the root itself.

    The CDUP command will stop at the root and cannot go above it.

    TYPE commands always get a positive response but have no meaning. All data transfers will occur in binary (TYPE I) format except for output from the LIST command which is in the default Ascii (TYPE A) format.

    If no passwords are set then the PASS command has no meaning but still gets a positive response.

    The USER command always gets a positive response but has no meaning, security is checked with PASS only.

    RMD can only remove empty directories.

    Passwords are entered at runtime and are never stored on disk.

    The PWD command response is the virtual path name relative to the assigned root in the local file system. The local root itself is designated as "/". Full local pathnames are never returned.

    Simultaneous reads should cause no problems however there is no explicit file locking done when a file is being written to. The underlying platform file system will determine how conflicts are resolved. If a file can't be opened for one operation because it is being used for another purpose by another user then an exception will likely be thrown. This exception will be caught by the server code and the connection attempting the open will be closed.

    The only logging of activity that takes place while the server is running is the totals of uploads and downloads (shown in Megabytes). Additionally the Java console, if it's open, will show any error conditions that are occurring and this can aid problem solving.

    The server uses the default settings for all Java sockets. The control socket can optionally have a time out set so that after no control channel activity for 20 minutes, a session will be ended by the sever.

    Character encodings

    Character encoding for reads and writes on the control socket are explicitly set to "US-ASCII".

    A lot of objects, mainly Strings, are created during an FTP session. Garbage collection is requested after a LIST command has been serviced and when an individual login session ends and that thread exits.