Questions tagged [ftp]

File Transfer Protocol (FTP) is a well-established protocol for conducting file operations (such as transferring files) over a TCP-based network such as the Internet.

File Transfer Protocol (Wikipedia article) is a protocol, governed by well-established Internet standards, for conducting file operations (e.g. transferring files between two systems) over a TCP-based network such as the Internet or a local area network. FTP employs a client-server architecture, where one system is the "client", which opens a connection to the other system, the "server", the client makes requests of the server, and then closes the connection.

The most common FTP operations that a client will initiate include downloading files (i.e. "get" files from the server) and uploading files (i.e. "put" files on the server). But there are a variety of file system related commands that the client may make of the server (e.g. making directories, renaming files on the server, deleting files from the server, etc.).

14199 questions
3
votes
0 answers

How to use two pipes to control a ftp binary file

I am using two pipes to read from the stdout of the ftp program and write to the stdin of the ftp program. But the output part doesn't work well which i can't find out why. It looks like the stdout of the ftp bin won't immediately go through the…
Dery
  • 177
  • 1
  • 11
3
votes
3 answers

Laravel - Driver [] is Not Supported

I haven't found an example like mine, the others appear to be missing what I already have but anyways, I'm trying to upload to an external FTP site, to which I have the following in my filesystem.php file: 's3' => [ 'driver' => 's3', …
jHannel
  • 203
  • 1
  • 3
  • 14
3
votes
1 answer

PowerShell SFTP uploading to specific port number

I need a PowerShell script to upload to an SFTP site to a specific port number. It is currently working with FTP and when not connecting on a specific port but how would I edit my script to let it connect to a specific port and use SFTP? See my…
AJ26
  • 501
  • 4
  • 15
3
votes
0 answers

Apache FTPSClient fails to put file despite successful connection and login

I am using Apache' FTPS Client to connect and place a file on an server over FTPS. But it fails on the storeFile method.... String url = "myTestSTore.com"; String user = "fake"; String password = "reallyFake" FTPSClient ftpClient = new…
AbuMariam
  • 3,282
  • 13
  • 49
  • 82
3
votes
1 answer

Show FTP download progress in Python (ProgressBar)

I am downloading files over FTP using the following Python script. What I wanted is to see the details of the progress while downloading. For that I used ProgressBar but it isn't showing anything. Here's my code: import re import os import…
Marshmellow
  • 111
  • 1
  • 11
3
votes
2 answers

Download file using ftp in c#

As a junior developper, I should find a solution to download a file using ftp and I have this code. It works but sometimes, I can not open the downloaded file. public static bool DownloadDocument(string ftpPath, string downloadPath) { bool retVal…
Tony_Clark
  • 33
  • 3
3
votes
1 answer

"500 Syntax error, command unrecognized" with FtpWebRequest in active mode (UsePassive = False) on Azure VM

I have a test C# console app that uses FtpWebRequest to transfer a file to a public FTP server. The app works from my Dev PC with UsePassive set to False. However, when I copy the app to an Azure VM it raises the following exception: The remote…
user1651370
  • 863
  • 1
  • 8
  • 15
3
votes
1 answer

Fs.readFile on FTP server

I've got some script in Node.js which is working when I run it on my computer but not when I'm on a server. I've got 2 servers: I run the webApplication on the first (Server 1) and the second (Server 2) contains files. var fs = require('fs'); var…
Adrien Voisin
  • 93
  • 3
  • 11
3
votes
0 answers

Why Publish is sending every time all files to the server?

I'm Publish to a server my ASP.NET MVC application, under Visual Studio Community. But once I do Publish->FTP, it always send to me all files/bin every time. It takes 2-3 minutes every time. Can't just deploy the "changed" edits? Or is it necessary…
markzzz
  • 47,390
  • 120
  • 299
  • 507
3
votes
1 answer

Net::FTPPermError (500 I won't open a connection to 10.10...... (only to 174.12........)

I have a rails app deployed to heroku. I have used paperclipftp to upload files to an ftp server, as heroku doesn't give much features with file uploading. So when I try to upload a file and save a record, I get this error. Net::FTPPermError (500 I…
Rohit
  • 5,631
  • 4
  • 31
  • 59
3
votes
1 answer

How to pass an endpoint as an parameter to a function in Ballerina

I'm using 'wso2/ftp' package for some file transferring process and have an ftp:Client endpoint as follows in my main .bal file. endpoint ftp:Client server1 { protocol: ftp:FTP, host:, port:21, secureSocket: { …
Nipuna Dilhara
  • 424
  • 2
  • 6
  • 18
3
votes
1 answer

Define sync directory on bitbucket pipeline

I am using folder structure for local vagrant development, -bin -htdocs -resources -vagrant those folders are on git but I want to clone only htdocs folder content on server using git ftp push How to define clone directory on bitbucket pipelines?
Stevan Tosic
  • 6,561
  • 10
  • 55
  • 110
3
votes
1 answer

Uploading files in parallel with Java FTP client

I was using GPars to upload files in a parallel manner with ftp4j client library as: GParsPool.withPool { files.eachParallel { file -> ftpClient.upload(directory, stream) } But, now I only have server ELB address for which ftp4j client…
Yogen Rai
  • 2,961
  • 3
  • 25
  • 37
3
votes
3 answers

Alternative to ftp on local network

Hi I have a document managment program that works with pdf files and these files (nearly 150000 files) are stored on ftp server(solaris 10). the program works on local network. I need an alternative to ftp that is faster and more secure. My program…
elxan
  • 75
  • 8
3
votes
2 answers

How can I set a temp directory for uncompleted downloads in Wget?

I'm trying to mirror files on FTP server. Those files can be very large so downloads might be interrupted. I'd like to keep the original files while downloading partial files to a temporary folder and once completed override local older versions.…
Naoric
  • 355
  • 2
  • 10