File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another host over a TCP-based network, such as the Internet.

learn more… | top users | synonyms

4
votes
0answers
27 views

Function that recursively downloads entire directory is slow

I created this function to recursively copy an entire directory from an FTP server. It works just fine except that it is about 4 times slower than using FileZilla to do the same operation. It takes ...
6
votes
2answers
226 views

C# FTP class for interaction with FTP server (Download only)

I'm writing my own FTPclient for downloading files from my FTPserver as a project. So far I can download and go backwards/forwards in the folders using this code. How does it look? What could be done ...
4
votes
2answers
25 views

Multiple server FTP download class

I've written this a short time ago. Do you see anywhere I can improve my logic? This is my first python script. ...
4
votes
1answer
120 views

Convert zip to gzip and upload to S3 bucket

My code accesses an FTP server, downloads a .zip file, pushes the file contents as .gz to an AWS S3 bucket. ...
1
vote
0answers
23 views

Uploading LDAP search results to an FTP server

I know this is quite a generic question, I was hoping it could stay open so I can try to improve my styles. Basically, I have an application that connects to LDAP, performs searches, and produces a ...
1
vote
1answer
107 views

Uploading and downloading files with FTP

I'm learning Python and decided to rewrite my FTP tool from Perl to Python. The program is able to up/download files, change the directory and list the files of the current directory. Is there ...
2
votes
1answer
322 views

Get all the PDF files from FTP server in different folders

Well, quite a biggie with all the foreach's. It works, it gets me 981 results, but there must be a way to shorten this code. Right? ...
1
vote
0answers
2k views

FTP client/server sockets

I'm working on a project using socket programming to design an FTP server/client application. This is the code so far. What I need to do is add authentication, I want users to be able to access ...
2
votes
1answer
581 views

Checking if a directory exists in FTP without relying on exception handling?

I've written a method to check if a directory already exists on an FTP server. The only way I could see to make this work was to return a different result from the method if an exception is thrown - ...
7
votes
2answers
259 views

Refactoring a FTPHelper Class

I've written a FTPHelper class which should help to teach me more about code structure. I don't know what I don't know so I would really value feedback on how I can be laying out and thinking about my ...
4
votes
0answers
1k views

is_dir function for FTP/FTPS connections

I'm implementing an is_dir() function to determine if a given item is a directory or a file for FTP/FTPS connections. Currently, I have two methods: one using PHP's ...
3
votes
2answers
660 views

Is this FTP download code useful?

I have a Windows-service and this service will connect to an ftp server and do download, upload, and rename operations. My service runs every 30 seconds, so the ftp server will be busy during these ...
3
votes
3answers
3k views

FTP Download Function

This is an function that downloads a single file from an FTP server and saves it to disk This is my first time doing anything with FTP, please let me know if i have missed anything. ...