{"id":30583352,"url":"https://github.com/synergex/ftpclient","last_synced_at":"2026-02-13T15:09:57.786Z","repository":{"id":149574582,"uuid":"437933831","full_name":"Synergex/FtpClient","owner":"Synergex","description":"FtpClient is a class that allows basic FTP operations with a remote FTP server. The class supports binary and ascii transfer modes, and both Active or Passive server connections.","archived":false,"fork":false,"pushed_at":"2022-07-25T18:15:40.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-29T10:49:55.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Synergex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-13T15:53:46.000Z","updated_at":"2022-08-04T15:56:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"33ded978-247a-43ee-8761-fc10b5925cbc","html_url":"https://github.com/Synergex/FtpClient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Synergex/FtpClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FFtpClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FFtpClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FFtpClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FFtpClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synergex","download_url":"https://codeload.github.com/Synergex/FtpClient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FFtpClient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29411139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-29T08:33:44.321Z","updated_at":"2026-02-13T15:09:57.779Z","avatar_url":"https://github.com/Synergex.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FtpClient\u003cbr /\u003e\n**Created Date:** 5/19/2011\u003cbr /\u003e\n**Last Updated:** 9/28/2011\u003cbr /\u003e\n**Description:** FtpClient is a class that allows basic FTP operations with a remote FTP server. The class supports binary and ascii transfer modes, and both Active or Passive server connections.\u003cbr /\u003e\n**Platforms:** Windows; Unix; OpenVMS\u003cbr /\u003e\n**Products:** Synergy DBL\u003cbr /\u003e\n**Minimum Version:** 9.1.5b\u003cbr /\u003e\n**Author:** Tod Phillips\n\u003chr\u003e\n\n**Additional Information:**\nIn order to use this class, both it and its dependency classes must first be prototyped with the DBLPROTO utility. Ensure that your SYNIMPDIR and SYNEXPDIR environment variables have been set, then run the protyper by typing:\n\ndblproto \u003cfilename\u003e.dbc\n\nFrom a command prompt in the directory where the source files have been saved. (Alternately, import the files into a Workbench project, right-click the project in the Projects tab and select \"Generate Synergy Protypes...\"). The included files can then be compiled and added to any library or ELB. To use the provided class methods, simply type\n\nimport SynPSG.System.Net\n\nat the top of your source code. (See FTP_Main_Program, included in download). Depending on the version of Synergy used for the compilation, it may also be necessary to import the class's dependency namespaces:\n\nimport SynPSG.System\nimport SynPSG.System.IO\nimport SynPSG.System.Net.Sockets\nimport SynPSG.System.Net.Mime\nimport System.collections\n\n\nCLASS: FtpClient (Public)\n\nENUMERATION(S):\nPublic Enumeration FtpConnectMode\nActive\nPassive\nPublic Enumeration FtpTransferType\nAscii\nBinary\n\nCONSTRUCTOR:\nFtpClient (Public)\nOverloaded. Initializes a new instance of the FtpClient class.\n\nPUBLIC FIELDS:\nConnectMode\nHost\nLogFile\nPort\nPwd\nUser\nTransferType\nRemoteDirectory\nRemoteDirListing\n\nPUBLIC PROPERTIES:\nIsConnected\nLoggingEnabled\nLocalDirectory\nLastServerResponse\n\nPUBLIC METHOD(S):\nConnect (Overloaded)\nDisconnect\nChangeDirectory\nDeleteFile\nGetDirectoryListing (Overloaded)\nGetFile (Overloaded)\nPutFile (Overloaded)\nRenameFile (Overloaded)\n\nEXAMPLE(S):\n\nThe following program demonstrates the use of the SynDateTime class; see the\nincluded Workbench Project and source code files for FTP_Main_Program as\nanother example. This project can be built and executed as it is.\n\n;; Program to demonstrate the FtpClient class.\n\nimport SynPSG.System\nimport SynPSG.System.IO\nimport SynPSG.System.Net\nimport SynPSG.System.Net.Ftp\nimport SynPSG.System.Net.Sockets\nimport SynPSG.System.Net.Mime\n\nmain\nrecord\nmyFTP ,@synpsg.system.net.ftp.FtpClient\nendrecord\n\nproc\nopen(1,i,\"TT:\")\nmyFtp = new ftpclient( \"ftp.someserver.com\", 21, FtpConnectMode.Passive)\nmyFtp.LoggingEnabled = true\nmyFtp.LogFile = \"C:\\temp\\ftp.log\"\n\nwrites(1,'...Attempting to connect...')\n\n; Defaults to \"anonymous\" login when no username or password passed\nmyFtp.Connect()\n\nif !(myFTP.IsConnected) then\nbegin\nwrites(1,'...Connection failed!...')\nend\nelse\nbegin\nwrites(1,'...Connection successful...')\nmyFtp.LocalDirectory = \"C:\\temp\"\nmyFtp.ChangeDirectory(\"/somedir/somesubdir/\")\n; Get a file. Defaults to ASCII transfer mode.\nmyFtp.GetFile(\"somefile.txt\")\nwrites(1,'...' + myFtp.LastServerResponse + '...')\nmyFtp.Disconnect()\nend\n\nendmain\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fftpclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynergex%2Fftpclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fftpclient/lists"}