As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ftp]

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.

Filter by
Sorted by
Tagged with
3 votes
0 answers
668 views

Android APP FTP downloading file implementation in Java

This is a follow-up question for Android APP connect to FTP server in Java and Android APP FTP uploading file implementation in Java. I am attempting to perform the download operation to specified FTP ...
JimmyHu's user avatar
  • 3,830
1 vote
1 answer
400 views

Android APP FTP uploading file implementation in Java

This is a follow-up question for Android APP FTP host profile class implementation and Android APP connect to FTP server in Java. I am attempting to perform the upload operation to specified FTP ...
JimmyHu's user avatar
  • 3,830
1 vote
1 answer
69 views

Android APP FTP host profile class implementation

This is a follow-up question for Android APP connect to FTP server in Java. I am attempting to create a tiny FTP host manager with FTPHostProfile class and ...
JimmyHu's user avatar
  • 3,830
4 votes
0 answers
2k views

Android APP connect to FTP server in Java

I am attempting to build an Android APP with the ability to connect specified FTP server in Java. The connection operation has been performed in FTPconnection class ...
JimmyHu's user avatar
  • 3,830
3 votes
1 answer
66 views

Does this R code look ok to expand out to other sites?

I'm after some constructive criticism on my code and maybe some ways to simplify before I expand it to include other sites. I am new to R and coding and have been working on this problem for weeks now....
prezzo's user avatar
  • 31
6 votes
1 answer
2k views

Recursively listing the content of an FTP server

Today I found myself in need of programmatically getting a recursive list of the files on a remote FTP server to look for some data archives. Much to my surprise, I could not find this functionality ...
AlexV's user avatar
  • 7,254
2 votes
0 answers
47 views

Upload to FTP method for Android that mimics the command line mv

I've created a Java class for Android that connects to a FTP server (using the FTPClient library from commons-net-3.6) and ...
Rafael Muynarsk's user avatar
3 votes
2 answers
1k views

Importing data into PostgreSQL from remote text file using ftplib class

I need to read a remote file using FTP and process it and insert the processed data to a PostgreSQL database in another server. The below code is working fine, but i want some advice to modify few ...
Linu's user avatar
  • 219
6 votes
2 answers
1k views

Parallel FTP client

I was given the task to download files for a FTP server. The download should be fairly fast. 15 parallel connections can be used. I have used FluentFTP as the ...
inwenis's user avatar
  • 303
1 vote
0 answers
202 views

Extracting many files from FTP site

I'm trying to extract all files (XMLs) from an ftp site with python and the ftplib module, but it's incredibly slow so I suspect I'm doing something wrong. The files are in subfolders, and all at the ...
Jim Eisenberg's user avatar
3 votes
2 answers
78 views

Check that file is fully downloaded by FTP

I have a task in which I want to handle error occurred in FTP downloading, For which I used the wget command to download a file via FTP and once the download is ...
Viraj Patil's user avatar
2 votes
2 answers
2k views

Handling FTP exceptions like no internet etc

I'm currently working in a project where the user needs to log in and after that I will check if the directory /cloud/user/Projects exists and if it doesn't, I will create them. The code works, ...
ODB8's user avatar
  • 31
2 votes
1 answer
164 views

Code to accept resume and cover letter over FTP using C# [closed]

Having completed an independent coding task, I then asked a few professional developers for their feedback as to what they think of the project I presented. Given that I am not an expert c# programmer ...
Desmond Buchanan's user avatar
1 vote
1 answer
3k views

FTP File Upload Queue

This code implements an FTPManager class and is designed to be a place to insert file data to be sent later, without having the program wait for a potentially very ...
jrh's user avatar
  • 412
9 votes
1 answer
890 views

Document Merger using PhpDocX

I'm developing a document merger that utilizes an FTP site containing hundreds of documents. FTP Connection Function ...
Trojan404's user avatar
  • 818
8 votes
1 answer
230 views

Extract data from a DBMS, create a CSV dump and transfer it to an FTP server

First of all, my code does work as expected at least to some extent. The intention of the program is to extract data from a DBMS in order to create a CSV dump and transfer it to an FTP server. My two ...
royskatt's user avatar
  • 203
5 votes
1 answer
191 views

Immutable File Upload Server Configuration Class (FTP or Network Drive)

The application I'm working on needs to occasionally take pictures, and then send them to either an ftp server or a network drive (user configurable). To try to abstract away the differences between a ...
jrh's user avatar
  • 412
1 vote
2 answers
609 views

Processing files retrieved through FTP in parallel

I am busy creating a file processor that needs to get some files from an Ftp client download the file and save the data into the database. I have a two part question. How can i refactor the code to ...
R4nc1d's user avatar
  • 361
7 votes
3 answers
242 views

Downloading files from a Mozilla file server via FTP

All classes on GitHub repo This is the code for downloading files from a FTP-server running Mozilla Fileserver. FtpItem is the interface for the two classes ...
A.J's user avatar
  • 165
4 votes
1 answer
4k views

Read decibel level from a USB meter, display it as a live visualization, and send it via FTP

This question was posed to me by someone in my university's athletics department who had a USB sound level meter and a simple Python script which printed the current sound level (he was provided with ...
Matt Menzenski's user avatar
9 votes
1 answer
956 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 ...
Programmer's user avatar
6 votes
2 answers
2k 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 ...
A.J's user avatar
  • 165
4 votes
2 answers
1k 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. ...
Jesse's user avatar
  • 205
6 votes
1 answer
9k 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. ...
Shawn S's user avatar
  • 63
1 vote
1 answer
1k 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 ...
ProfGhost's user avatar
  • 149
2 votes
1 answer
1k 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? ...
Chilion's user avatar
  • 199
4 votes
2 answers
6k 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 - ...
Michael A's user avatar
  • 1,641
7 votes
2 answers
437 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 ...
Michael A's user avatar
  • 1,641
6 votes
4 answers
792 views

State machine for handling Telnet sequences for an FTP server

I've asked Code Climate to generate metrics for the ftpd Ruby gem. It correctly identified the God class; I know what to do about that. But one of the smaller classes has me stumped. This is telnet....
Wayne Conrad's user avatar
  • 3,274
6 votes
1 answer
5k 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 ...
Julio María Meca Hansen's user avatar
3 votes
2 answers
1k 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 ...
Mennan's user avatar
  • 131
3 votes
3 answers
5k 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. ...
Stingervz's user avatar
  • 381