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
6 votes
2 answers
353 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 ...
hanshenrik's user avatar
2 votes
1 answer
412 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: ...
Y K's user avatar
  • 83
2 votes
1 answer
86 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 ...
Nicholas's user avatar
3 votes
1 answer
207 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 ...
Denis Cherepanov's user avatar
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 ...
user avatar
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. ...
JimmyHu's user avatar
  • 4,708
0 votes
1 answer
605 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: ...
code0x00's user avatar
  • 101
5 votes
3 answers
204 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, ...
Ξένη Γήινος's user avatar
4 votes
1 answer
487 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 ...
Lucas Labouret's user avatar
3 votes
0 answers
959 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
  • 4,708
7 votes
2 answers
108 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 ...
Mast's user avatar
  • 13.4k
1 vote
0 answers
134 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 ...
Zoran Jankov's user avatar
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: ...
coderodde's user avatar
  • 28k
2 votes
1 answer
527 views

RemoteFile in Java

(Also, see the next iteration.) I have this tiny class for downloading files from internet: ...
coderodde's user avatar
  • 28k
6 votes
1 answer
156 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 <...
Alex's user avatar
  • 223
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. ...
Ben Morrison's user avatar
2 votes
1 answer
104 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 ...
r35daleney's user avatar
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 ...
user9593274's user avatar
3 votes
0 answers
932 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: ...
liz's user avatar
  • 31
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 ...
Clément Baconnier's user avatar
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 ...
faquir's user avatar
  • 11
2 votes
1 answer
452 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 ...
KuebelElch15's user avatar
1 vote
1 answer
24 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 ...
Balázs Vincze's user avatar
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 ...
Karn Kumar's user avatar
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 ...
Gnik's user avatar
  • 882
1 vote
2 answers
960 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/...
AnalyticsPy's user avatar
2 votes
1 answer
130 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 ...
Mark Messa's user avatar
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 ...
Brendan Gooden's user avatar
15 votes
0 answers
241 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 ...
Winston Ewert's user avatar
5 votes
0 answers
916 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 ...
Rex Low's user avatar
  • 151
3 votes
1 answer
60 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 ...
Pasha Aleayoob's user avatar
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 ...
Nanoni's user avatar
  • 131
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 ...
Dom's user avatar
  • 183
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//...
toonarmycaptain's user avatar
3 votes
1 answer
504 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 ...
user3797758's user avatar
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 ...
Mariusz Ignatowicz's user avatar
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 ...
gogasca's user avatar
  • 611
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 ...
Vlad Pulichev's user avatar
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 ...
AFP_555's user avatar
  • 133
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, ...
Jeffrey's user avatar
  • 181
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: ...
ar099968's user avatar
  • 201
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. ...
Uttu's user avatar
  • 21
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 ...
yak's user avatar
  • 223
2 votes
1 answer
1k views

Download pictures from Reddit

...
ocelot's user avatar
  • 123
7 votes
1 answer
132 views

A simple PyPI crawler

I had to make a program to crawl through a bunch of PyPI packages and see how many of them implement custom compare operators (i.e. grep for def __le__ etc). After ...
Elliot Gorokhovsky's user avatar
0 votes
1 answer
114 views

Dynamic software update system using PHP

I have this code I have made to check after new release, when there is a new one it ask you for install it, and then installs it if you accept. The file is a zip file with the new folders and files ...
TheCrazyProfessor's user avatar
10 votes
1 answer
2k views

Automating the download of a GitHub repo

This script is designed to locate and download the first repository in your sidebar on the GitHub repository page. It downloads the .zip file for that repo and saves it to the default location. I ...
Der Kommissar's user avatar
14 votes
1 answer
227 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 ...
Sean's user avatar
  • 241
7 votes
1 answer
6k views

SFTP Ruby script for downloading files from server

I have written this Ruby script to download some file from server using SFTP. Help me improve this one. Find the original script at this link ...
Ashish Wadekar's user avatar
3 votes
0 answers
4k views

Sending ACK/NACK for packets

The code is working perfectly. I'm little bit sure this is a packet what I am sending from client to server in streams. Is this packet? Am I sending in a right way? Another thing is that I am sending ...
sudokhan's user avatar