Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [network-file-transfer]

Questions relating to the copying of files from one filesystem, over a network, to a destination filesystem

Filter by
Sorted by
Tagged with
3 votes
0 answers
982 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 ...
2 votes
1 answer
136 views

Image file uploader webpage in HTML5 and PHP

I am trying to make a webpage for uploading an image file and storing the uploaded file on server. There are several features in this implementation: There is a drag & drop zone on the webpage. ...
3 votes
0 answers
138 views

Ajax file uploader jQuery plugin

I tried to write my first jQuery plugin. It's a very simple AJAX file uploader. HTML ...
6 votes
1 answer
157 views

Adapter pattern to support multiple file storage systems

I am just getting into the following design patterns. I have created a class that allows for performing a couple of operations on different remote storage systems: drive, dropbox, .etc (I call these <...
6 votes
2 answers
361 views

PHP readfile() with 304 Not Modified and HTTP 206 Partial Content support: httpreadfile

I wanted a readfile with 304 Not Modified and 206 Partial Content support, I think i got right, but probably spent way more effort on error-checking than worthwhile.. Also I didn't develop it by ...
2 votes
1 answer
466 views

Sending and receiving files in C win32 using a socket

I have a piece of code to send and receive files on Windows with C. Is this the right way to do it? And am I guaranteed that the full file will be sent and received? Receiving function: ...
2 votes
1 answer
91 views

Download and print a CSV report based on user input

I'm learning Java and I did one exercise that consists in reading the input of the user (name of the network and date of the report) and return the csv that was inputed by the user. I know that the ...
5 votes
3 answers
206 views

Python 3 Multi-connection downloader

I have written a fully functional simple command line multi-connection downloader, written in Python 3, using just threading, ...
0 votes
1 answer
649 views

Upload multiple images using react and axios

I trying to upload multiple images about (5000 of size upto 50mb) and trying to figure out what would be the best way to do it. right now i have this code: ...
3 votes
1 answer
208 views

Server code to upload and save images to cloud storage

Is there a way to beautify my code? It works but there repeated blocks and I am not sure that I'm using some functions in the right way. I'm not new to JavaScript but I want to improve it and get rid ...
4 votes
2 answers
7k views

Bash CGI Upload File

I'm using the following Bash CGI to upload a file: ...
1 vote
1 answer
4k views

Python requests downloading big files in slower speed than wget

This is a simple toy downloader using python's requests library. I’ve monitored the download process is slower on an ethernet connected box. The realtime speed is ...
1 vote
1 answer
79 views

Trying to follow Single Responsibility Principle with download and show progress

Let's get right into it, I have a function downloadFile(url, path); Downloads file and saves it. donwloadFile.js ...
6 votes
1 answer
3k views

Increase speed of Google Drive upload for large files

I'm using Google Drive API for uploading large disk image files ( >100 GB). My Code uses this wrapper to upload these large files in chunks of 40mb. The files are stored on NAS drive. The code works ...
4 votes
1 answer
526 views

Cloud storage using python Socket library

One year ago I learned some Python 3 in Highschool, but I haven't really programmed anything since then. I decided to start a new project to try and practice a bit before entering the first year of an ...
7 votes
2 answers
109 views

Multi-site backup utility with basic sanity checks

We have a large set of projects at work. It's very important we keep track of those and every so often we need to run a full back-up that's unrelated to the 'normal' back-ups IT is running (snapshots ...
1 vote
0 answers
136 views

Remote computer file transfer with PowerShell script

Remote-Computer-File-Transfer I have created a PowerShell script, , for remote computers file transfer, for computers that only support New-PSDrive cmdlet, and I ...
2 votes
1 answer
545 views

RemoteFile in Java

(Also, see the next iteration.) I have this tiny class for downloading files from internet: ...
2 votes
1 answer
66 views

RemoteFile in Java - follow-up

(See the first and initial iteration at RemoteFile in Java.) I have added some new facilities for convenience. Now I have this in mind: com.github.coderodde.utils.io.RemoteFileDownloadListener.java: ...
2 votes
1 answer
81 views

Java file transfer through sockets

I am making a program that transfers files from one client to another. Right now I am just working on sending the file to the server and then later I will work on transferring it to the other client. ...
10 votes
5 answers
6k views

Resumable HTTP download class

Any suggestions, corrections and advice would be very nice and much appreciated. ...
1 vote
1 answer
25 views

Saving a submitted Mongoose model, possibly with an uploaded image

I have some code which saves a mongoose model from the submitted form data. However the user might also upload an image along with the form, which needs to be saved on the server (moved from the ...
2 votes
1 answer
107 views

Upload a file asynchronously

I need your opinion about my practice. I want to improve it. The requirements are the following: RESTFUL + OWIN (SelfHosted) Endpoint - Upload a file asynchronously Make a request to the endpoint ...
4 votes
1 answer
89 views

PHP remote upload security

I need to upload images to a remote HTTP server from a local script. The image name format is {32-char MD5}.jpg. Server directory format is ...
3 votes
0 answers
935 views

Using Python threads to download images

I am using Python threads to download images. I have a JSON file that contains URLs to the images in the following structure: ...
0 votes
2 answers
2k views

Laravel: Export customer record as CSV

Using Laravel, I need to export some value from the DB in a CSV and then upload the CSV via sFTP or return it in a Response. I'm trying to be use S.O.L.I.D. principles but with this scenario, I'm not ...
2 votes
2 answers
4k views

Uploading a file using Net::SFTP

I have a method to upload a file using the Net::SFTP gem: ...
2 votes
1 answer
454 views

Laravel image upload

I'm new to the filesystem from Laravel, but I need an upload script that allows users to upload images to my server. However, i'm concerned about securety, so I thought why not ask for advice, because ...
2 votes
1 answer
5k views

Python rsync to copy the logs from multiple remote servers

I have the below code which i'm working to copy(using rsync) the contents From remote host labserver01 and dumps those into the directory ...
5 votes
1 answer
3k views

Simple Java Download Manager

I have written a simple download accelerator in java which downloads the same file in multiple threads and then combines them all. I would love some feedback on my design. How the same implementation ...
1 vote
2 answers
962 views

Python functions to fetch spreadsheets through SFTP and from Dropbox [closed]

I have written two functions- first one is to read files from SFTP and second one is to read files from Dropbox. Both functions have some similar line of code like validating extension and reading/...
2 votes
1 answer
131 views

PHP Template: Image file upload handler

I'm trying to develop some templates for common PHP tasks I've been dealing with. One of which is a general image file upload handler. So far I'm using the following reusable code which seems to be ...
15 votes
0 answers
245 views

Download files in parallel

This module has a ensure_downloaded function which takes a slice of Urls. It downloads all of the urls to a local downloads ...
5 votes
0 answers
920 views

Uploading captured video to Google Cloud Storage

My program intends to capture video streams (in mjpeg) with OpenCV and upload the captured frames into Google Cloud Storage for later processing. I am expecting to capture ~15-20 frames per second and ...
3 votes
1 answer
61 views

Handling download requests using PM2

I Using Nodejs v9.10.1 for handle download operation from another application. When using PM2 in fork mode to make alive my code. After 50 minutes, this will show high memory usage. Server Config is ...
3 votes
0 answers
1k views

Read remote and local directories and transfer data

The app is made to be able to send large amounts (1000+) of big data files (2GB>) to a online long term storage service. The application they themselves provide for this service is very buggy and ...
1 vote
2 answers
3k views

Secure image upload class

Last night I made this image uploading class. It was the first time I made a file uploader to be used on a real site, so I thought I would share it here and on Github to get some reviews, hoping if I ...
3 votes
1 answer
10k views

File Transfer over TCP

I'm working on an Asynchronous TCP Client/Server using the old BeginXXX and EndXXXSocket API. The goal of this hobby project is ...
3 votes
1 answer
58 views

Restricted file upload to remote the Ruby way

I am using a Rails web app on the machine webapp, from which I call an action, that pushes a file to a remote server backend. ...
6 votes
1 answer
266 views

Archives xkcd comics

This is a work in progress, as you may read I plan to revise to utilise JSON data rather than directly scraping. I am considering refactoring the try//...
0 votes
1 answer
2k views

File upload in AngularJS causes browser out of memory error

I have an AngularJS code to perform upload of files. At first I thought it works OK but when I've tried to upload bigger files (e.g. 5 files, 10 MB each) then I saw that this code has very poor ...
7 votes
2 answers
12k views

Protocol implementation, TCP, sending images through sockets - follow-up

I would like to ask about your opinion about my code. The idea is simple: I designed my own protocol, where client asks server about the image, and the server sends the image, following the below ...
3 votes
1 answer
534 views

One to One network file transfer code C# socket based

I have been developing a piece of software which has a central computer talk to many smaller nodes with a star network configuration. Each smaller node sends a file around 5MB in size once the central ...
14 votes
1 answer
228 views

Download images from an image board based on tags and blacklists

This code is meant to download images from an image board to create a local backup. Images are grouped by tags selected by the user and then downloaded using multiprocessing. Normal use of this ...
3 votes
1 answer
2k views

Download and write ~100k images

Currently I will be downloading around ~100K images. This process may run on a weekly basis, I'm considering the following factors: HTTP Requests (Will be taken care by external LB, so same source IP ...
3 votes
2 answers
88 views

Uploading photos of various sizes

In my solution I've implemented transaction-like methods of uploading posts media. For example I'm adding new post with photo. I want to have 700x700, 200x200, 70x70, 10x10 px sizes in my storage and ...
3 votes
2 answers
3k views

Sending a file over a socket with AES encryption

I'm not sure what's the best way to deal with streams that need to be closed whenever I'm done using them? Usually the need to also catch the exception inside the ...
5 votes
1 answer
1k views

User Avatar upload

I have been looking at some coding videos on Laracasts and the focus seems to be very readable code and keeping the controller clean. How can I clean this up? This code takes an uploaded user avatar, ...
3 votes
1 answer
3k views

Resumable download with System.net.HTTPClient

This is a Delphi class, based on System.net.HTTPClient with a function for downloading a file from a URL and saving on a filename destination: ...
2 votes
0 answers
2k views

Folder sharing with python sockets

I am just getting started with python. I wanted to make a folder transfer tool to get familiar with python sockets. ...