Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

file-transfer

Compress file on S3

April 3, 2024 by Tarik
Categories amazon-s3 Tags amazon-s3, compression, emr, file-transfer, hive Leave a comment

how to achieve transfer file between client and server using java socket [duplicate]

September 23, 2023 by Tarik

Reading quickly through the source it seems that you’re not far off. The following link should help (I did something similar but for FTP). For a file send from server to client, you start off with a file instance and an array of bytes. You then read the File into the byte array and write … Read more

Categories java Tags file-transfer, java, sockets, tcp Leave a comment

Moving files from one folder to another C#

August 30, 2023 by Tarik

Your slashes are in the wrong direction. On windows you should use back slashes. E.g. string rootFolderPath = @”F:\model_RCCMREC\”; string destinationPath = @”F:\model_RCCMrecTransfered\”;

Categories c# Tags c++, file-transfer, filepath Leave a comment

filezilla, error while writing failure

July 29, 2023 by Tarik

Credit to cdhowie: The remote volume was out of space.

Categories file-transfer Tags file-transfer, filezilla Leave a comment

scp copy directory to another server with private key auth

April 20, 2023 by Tarik

or you can also do ( for pem file ) scp -r -i file.pem user@192.10.10.10:/home/backup /home/user/Desktop/

Categories linux Tags copy, file-transfer, linux, scp, ssh Leave a comment

ssh_init: Network error: Cannot assign requested address

March 1, 2023 by Tarik

Did you try: pscp -P 22 c:\documents\foo.txt user@example.com:/tmp/foo

Categories deployment Tags deployment, file-transfer, putty Leave a comment

Transfer files to/from session I’m logged in with PuTTY

December 26, 2022 by Tarik

This is probably not a direct answer to what you’re asking, but when I need to transfer files over a SSH session I use WinSCP, which is an excellent file transfer program over SCP or SFTP. Of course this assumes you’re on Windows.

Categories sftp Tags file-transfer, putty, scp, sftp Leave a comment

scp from Linux to Windows [closed]

December 24, 2022 by Tarik

This one worked for me. scp /home/ubuntu/myfile username@IP_of_windows_machine:/C:/Users/Anshul/Desktop

Categories linux Tags file-transfer, linux, path, scp, windows Leave a comment

Comparing HTTP and FTP for transferring files

November 29, 2022 by Tarik

Here’s a performance comparison of the two. HTTP is more responsive for request-response of small files, but FTP may be better for large files if tuned properly. FTP used to be generally considered faster. FTP requires a control channel and state be maintained besides the TCP state but HTTP does not. There are 6 packet … Read more

Categories http Tags file-transfer, ftp, http, network-programming Leave a comment

rsync error: failed to set times on “/foo/bar”: Operation not permitted

October 8, 2022 by Tarik

If /foo/bar is on NFS (or possibly some FUSE filesystem), that might be the problem. Either way, adding -O / –omit-dir-times to your command line will avoid it trying to set modification times on directories.

Categories rsync Tags file-transfer, rsync Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa