1,822 questions
0
votes
0
answers
39
views
What happens when uploading a large file from client browser to my Spring boot server if I delay reading the multipart file from input stream?
Context: I am trying to build a Spring Boot application and have exposed a REST api endpoint to upload files(as large as 1 GB).
Question: Since the data transfer for a multipart file happens in chunks ...
Advice
0
votes
0
replies
12
views
Docker Swarm file transfer on shared Windows/Linux PCs
I have a Docker Swarm setup where a worker node needs to copy files to the master node. The worker is running on Windows via WSL, and the master is an Ubuntu server. Both nodes are connected through a ...
1
vote
0
answers
63
views
How to pass custom IDataObject format via Drag & Drop from Host to VMware Guest?
I'm facing an issue with drag & drop between a host system and a VMware guest VM, where my application's custom data format gets lost during the process.
My setup:
Host OS: Windows 11
Guest OS: ...
0
votes
2
answers
63
views
How to exchange data over the network without internet [closed]
Is it possible to transfer data between two devices with different operating systems on the same network (without internet)?
1
vote
0
answers
133
views
gcloud storage cp downloads exceed file size and result in corrupt file (e.g. 12.7GiB for 9.2GiB file)
I’m trying to download a .tar.gz file from a public Google Cloud Storage bucket using the gcloud CLI tool.
Here’s the command I use:
gcloud storage cp gs://my-bucket/large-file.tar.gz ./
The file is ...
0
votes
1
answer
80
views
Cancel running task on separate thread when user clicks on cancel button
I have implemented an API /transferFile that downloads a file from a server and writes it to a specific location. To ensure the file transfer runs in the separate thread, I am using ExecutorService ...
0
votes
1
answer
65
views
Image is being corrupted when sent through cURL [duplicate]
I'm trying to use the following code to transfer an image file from my website to a Rackspace Cloud Files container:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://storage101.dfw1....
1
vote
0
answers
98
views
How to Send Files Between Two Android Devices Via USB
I'm part of a team working on a project where we have a small Android 12 device acting as an HID device for a host Android 12 device. The idea is that they press a button on the smaller device and ...
0
votes
0
answers
22
views
Efficient alternatives for PyWebHdfsClient for file transfer to Hadoop Files System
I am trying to transfer a file from local server to a remote Hadoop file system using PyWebHdfsClient.
Are there any more efficient alternatives for transferring files to HDFS?
1
vote
0
answers
151
views
Checksum does not match on client side when downloading large files over HTTPS
I already have a Server/Client application, clients connect to the server via a token, server verifies the token and only then server proceeds to send files to the client(s).
However, when I try to ...
1
vote
0
answers
45
views
Shows loading progress and threads running at the same time in Transfer File socket python
i have 2 problems that need help below. Transfer File socket python and MultiThreading
# server.py
import os
import socket
import threading
RESOURCES_SERVER = 'resources'
TEXT_FILE = 'text.txt'
...
1
vote
0
answers
254
views
Why is it so slowly while transferring files from windows through WinRM by using python?
I'm using python + winrm to get files from a windows server. The code runs fine but slowly. It can only get about 10GB per day by this way.
If I copy files through remote desktop(mstsc.exe or Other ...
-3
votes
1
answer
57
views
Bypass windows and transfer images form hard drive to disk [closed]
I have an old work computer that I cannot log in to because I do not know the password. The computer has Windows 10 installed. I was wondering if there is any way to transfer data from my hard drive ...
0
votes
0
answers
61
views
how to send multiple files and some data in a single response
I'm writing online-library using Vue and Yii2. I need to somehow send books info and related pics.
I tried to send at least pictures but in postman i see that response contains only 1 picture
public ...
1
vote
0
answers
89
views
Java reworked 'FTP' File Transfer with Ascii and Binary
I'm having to implement a basic file transfer system in Java, one that accepts commands from the client. Unfortunately, the class this was for has so far been more about networking concepts as opposed ...
0
votes
0
answers
106
views
File Corruption Issue When Transferring from External Server to Google Cloud Storage
When attempting to transfer files from an external server to a Google Cloud Storage (GCS) bucket using the provided code snippet (code to be executed on Google Cloud Functions), the files are ...
0
votes
0
answers
112
views
Move large files(in GBs) in parallel
I have a use case, where we need to move large files from openshift to another server. Each files are in GBs. Total size of files were few Terabytes. I'm using oc rsync/cp feature to move files.But it'...
0
votes
0
answers
156
views
SFTP file transfer time stamp
I am writing a python script to check how long the file is staying in the SFTP. Every minute the script will run and it'll check if the file is there or not.
Here's a part of the script checking the ...
0
votes
1
answer
1k
views
Copy files from One S3 Bucket to another S3 Bucket
I have to migrate about 20 TB data from One S3 bucket to another S3 bucket where both are in separate accounts with separate vendors and I am not the owner in either of them.
I have been provided ...
0
votes
0
answers
45
views
Optimizing UDP Transmission for High-Latency Networks in Python
I need to create a Python UDP Utility for Linux, but I can't optimize for packet loss simulations. It working great and actually sending the file, but its working really slow.
This is my code:
client-...
0
votes
0
answers
67
views
How can I run this ftp_get script?
I can run PHP scripts using a browser and a VPS I have through Ionos. There is one script, however, that I don't know how to run. It uses the ftp_get command to download a file from my server and ...
1
vote
0
answers
452
views
How to securely access local data in remote SLURM job w/o exposing sensitive information?
I want to run a SLURM job on a remote cluster to analyze sensitive data stored locally (/data/mydata.csv). The job is defined in job.sh, which executes an analysis script (r_script.R) for data ...
0
votes
2
answers
81
views
Vagrant transfer file from Guest VM to another Guest VM
Is there any option to transfer a simple file from one Vagrant VM to another Vagrant VM?
I assigned static IP to both of the VMs, watched for open SSH ports and tried to use scp command to transfer ...
0
votes
1
answer
163
views
Sending updated files across a network using Python Sockets
I am trying to send some data across a network in a JSON file. This file will be updated periodically (every 10 seconds) and I need to read this and make it available in my application. Currently, i ...
0
votes
1
answer
77
views
File transfer (File.Move() ) unexpected behavior [duplicate]
Im trying to move a file from one location to another.
private void SendFileToDestination()
{
string file = "HATKANOT_BETIHOT_231230.txt";
string ...
1
vote
0
answers
76
views
PHP file transfer an Excel xls file from the server to a local PC doesn't work
I have an Excel 2013 xls file on my server and I would like it to download to my local Windows download directory.
$filename = 'test.xls';
$file_path = $filename;
if (file_exists($file_path)) {
/...
0
votes
1
answer
438
views
rz file transfer is asking several times to upload file into Linux server from Mac
I'm using the lrzsz tool to transfer files between a Mac and a Linux server. Using sz works fine, but when I use rz in the Linux terminal for the first time, it opens the Mac file upload UI. After the ...
0
votes
1
answer
239
views
Password encryption needed for FTP script file transfer
I have a WinSCP script which copies file over FTP protocol. But here my password is visible. Is there any option to make this password encrypted so that if anyone open the script couldn't see the ...
0
votes
1
answer
65
views
Multithreaded file transfer via socket in java
I want to receive chunks of a file from multi-thread and write in orderly.
I have a server file on one system that send a file into 4 chunks through 4 thread now i have a client program on another ...
0
votes
2
answers
93
views
Want to finish and print status after file transfering in this code
I'm trying to do file transferring via sockets between two machines. I don't have any problems with transferring but I want to be able to resume inputting another command in my server after the ...
0
votes
1
answer
426
views
Design pattern for supporting transferring data from multiple sources to destinations
I am working on a small program - the main feature of the program it to 'transfer' 'data' from one 'place' to another, and also record stats (like timestamps, success or not, etc.) to sqlite db. ...
1
vote
1
answer
976
views
Uploading files to and Downloading files from 2FA protected Sharepoint from a C# Console App
I am tearing my hair out over this one. There seem to be 1000 suggestions to do what I want, but most of them are obsolete, or don't work. The microsoft docs are worse than useless, don't explain the ...
3
votes
1
answer
1k
views
How to effeciently Serve Large Files using Actix Web for Rust
Here is my scenario, I have written an API endpoint using actix-web and rust which is running inside a Linux VM. When the API is hit, it runs a job and creates a zip file. This zip file is around 3.5 ...
-2
votes
1
answer
348
views
File transfer using NodeJS
I am trying to copy some files from one folder to the other using JavaScript and NodeJS. I am reading the file names from a text file to achieve this but only the last file is getting transferred. ...
0
votes
0
answers
126
views
How can I use Google APIs in Python to move a file from one user's Google Drive folder to another user's folder?
I'm trying to write a Python script that allows me to move a file from a folder in my Google Drive to a folder in another user's Google Drive using Google APIs. I've already set up OAuth2 ...
-1
votes
2
answers
1k
views
Problems with deleting file from sftp folder using Python
I am trying to move files into a backup folder which is on the same directory level as the folder where the files are stored. The downloading of the file into a local directory and uploading the file ...
0
votes
0
answers
116
views
Is there any way we can transfer files from AWS Cloud to any local system?
I have my files residing in AWS S3 bucket. I want to transfer them to a folder in an server. Can we use AWS Transfer family for this? In the documentation, it is mentioned that AWS transfer family can ...
-3
votes
1
answer
56
views
Image comes broken from winsock
I'm building the communication module of an application on c++, I'm using windows socket to make the connection and the send() function to send files.
When I try to send an image, it comes broken in ...
1
vote
1
answer
307
views
Send image to browser as a PHP post response
So, I'm making a post request with CURL:
<?php
$url = 'http://url/to/site';
$data = array(
"tk" => $_GET["tk"]
);
$ch = curl_init($url);
//seteamos la petición
...
0
votes
1
answer
174
views
Is there a way to upload a big file from a direct download link to Google Drive without having to download it to the local machine first?
Is transferring a file from a link to Google Drive using a custom script or programming solution feasible? I have a link which when clicked downloads a file. I want to transfer the file to drive ...
0
votes
1
answer
665
views
file transfer using sftp fails with error ETAdebug3: Sent message SSH2_FXP_WRITE I:12 O:0 S:32768
We are trying to transfer the file from sftp server to the remote server.
The file transfer works well when we transfer small-size (2-5MB) files.
But, the file transfer fails intermittently when we ...
1
vote
0
answers
574
views
Parallelizing `gcloud compute scp`
I am moving a large number of files between GCP VM instances using gcloud compute scp. If I were moving the files from a storage bucket, I would use gsutil -m cp, with the -m flag allowing me to ...
0
votes
0
answers
469
views
How to use Minicom programmatically without console input?
is there a way to use the Minicom functions in a python script? I need to transfer files via serial port on a raspberry pi 4 to another raspberry pi 4. Minicom offers this functionality and it works ...
0
votes
1
answer
484
views
How to limit transfer speed of file within the same file shared network in python
I would want to transfer file(copy) within a same shared network within 5mbps
using the method below im unable tot get 5mbps consistently it give me for example 12mpbs, 10mpbs then drop to 0mbps later ...
0
votes
1
answer
1k
views
Copy File from Box.com to AWS S3 Bucket
I have a ~50,000 I need to upload to an S3 bucket. These files already exist in Box.com Is there a way to write from Box to AWS using the AWSCLI? It just seems like a wasted step to download from ...
0
votes
0
answers
159
views
Sending files between two raspberry pi using serial port
In our project we want to exchange every type of file (csv,txt,pdf,xlsx,...) between two raspberry pi using the serial port.
For example: We want to send a .pdf file from the first raspberry pi to the ...
0
votes
1
answer
1k
views
How to synchronize a list of files from one Windows Remote Server to another via Ansible?
I am currently trying to transmit a list of files from one Windows Remote Server to another Windows Remote Server initiated from a third Linux Control Machine.
My current implementation is as follows ...
0
votes
0
answers
55
views
My image comes out broken from tcp sending
I'm a beginner in C++, and I'm building a program to transfer files and images. I have a simple code to send pictures over TCP taken from Sending Picture via TCP. But my images came broken, with ...
0
votes
1
answer
209
views
Python pysftp fail with IOError [duplicate]
I'm fairly new to Python and migrating an already running script to a new machine.
The key part of the script is to ftp a file to internal file server.
A snippet of code is:
import pysftp
with pysftp....
1
vote
1
answer
361
views
Python upload a file to AWS S3 with existing presign URL from another account
I have a pre sign URL from a client, I want to store the file in my AWS S3 bucket
from requests import get
resp = get(url=[Presign URL], timeout=9000)
s3_client.upload_fileobj(resp.content, "my-...