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
1 answer

How to run ftp-server on port 21 on macOs

I have to run ftpserver with node.js and electron, using simple-ftpd on macOs. It must run on port 21, because i can't update device's hardwares parameters. Btw all ports < 1024 are locked. I tried to use pfctl to forward 21 -> 1337, my device can…
JossVAMOS
  • 300
  • 1
  • 5
  • 20
3
votes
1 answer

Count/list all files that are in FTP directory with FtpWebRequest in C#

I'm trying to get into C# programming, but for some reason I'm stuck with trying to count all files that are uploaded on my ftp server. I already tried some code from stackoverflow Code: FtpWebRequest request =…
Florian Zaskoku
  • 477
  • 3
  • 13
3
votes
2 answers

Zip a directory and upload to FTP server without saving the .zip file locally in C#

My question is the title. I have tried this: public void UploadToFtp(List ProductData) { ProductData.ForEach(delegate( strucProduktdaten data ) { ZipFile.CreateFromDirectory(data.Quellpfad, data.Zielpfad,…
ARX
  • 287
  • 1
  • 5
  • 11
3
votes
2 answers

The remote server returned an error: (550) on upload file to FTP using FtpWebRequest

I need to upload file via ftp to host. The /home2/travele2 path created on the root of host I can upload file via FileZilla program to the host, but when I try to upload file via website, it gets me this error: The remote server returned an…
hmahdavi
  • 2,250
  • 3
  • 38
  • 90
3
votes
2 answers

Can we set up a FTP Site using Azure Web App?

Totally new to FTP and Azure. So please excuse if the question sounds stupid. Is there a way to set up FTP using Azure Web App service? Is it even possible? I am trying to avoid using a dedicated VM with IIS for setting up FTP. All my search…
hexbit1
  • 61
  • 2
  • 8
3
votes
3 answers

ftp script in bash

I have the following script that pushes files to remote location: #!/usr/bin/bash HOST1='a.b.c.d' USER1='load' PASSWD1='load' DATE=`date +%Y%m%d%H%M` DATE2=`date +%Y%m%d%H` DATE3=`date…
bernie
  • 803
  • 4
  • 12
  • 18
3
votes
1 answer

Python ftplib: How to correctly release connection object?

I have seen code like this (Python 3 code): import ftplib from contextlib import closing with closing(ftplib.FTP()) as ftp: Is the usage of the closing method necessary? In an interesting answer, we can read that in database connection objects the…
Jan Bodnar
  • 10,969
  • 6
  • 68
  • 77
3
votes
0 answers

Determine if FTP path is file or directory

I have to fix a bug deeply buried in legacy code. This code makes a call to FtpFindFirstFileW to collect info about files on an FTP server. It then iterates over the files using InternetFindNextFile, puts the info into a vector and returns this…
sigy
  • 2,408
  • 1
  • 24
  • 55
3
votes
1 answer

FTPS using fingerpring

I have to communicate to an FTP server with SSL. I've received an example on how to do that that uses, I believe, the WinScp command: open ftpes://SomeUser:SomePass@SomeDomain.com/…
Evgeni Dimitrov
  • 21,976
  • 33
  • 120
  • 145
3
votes
0 answers

Cannot access FTP directory with CP1250/CP852/UTF-8 encoding

I am trying to read in some files from the following directory structure: /jc/06 Önéletrajzok/Profession/Előszűrés sablonok név szerint But for some strange reason I cannot enter not even in the upper level directories. I already tried with…
Kornel
  • 263
  • 4
  • 16
3
votes
1 answer

.Net core application failing to upload via FTP, hosted on IIS

I have a problem deploying a .net core application via FTP which is hosted on IIS. The main DLLs (core application) that I want to update just wont upload, FTP just gives me a generic permission error message. I think the reason is because they are…
Richard Vanbergen
  • 1,904
  • 16
  • 29
3
votes
0 answers

How to download latest file from FTP when the name of the files do not contain the date

Using R, I need to download the latest file from ftp.nhc.noaa.gov/atcf/fst I need to download the most recent file uploaded. I don't want to download the entire list of file and check the dates and the files do not contain the date in their names.…
user73130
  • 31
  • 1
3
votes
0 answers

Is there *ANY* way to download FTP files with Windows Phone 7 & .Net 4?

Possible Duplicate: How do I implement support for ftp in WP7? Hi all, I'm trying to write a WP7 app to display Australian weather and to do this I need to directly download and process files on an FTP server containing all the data. I was very…
nzmike
  • 578
  • 1
  • 7
  • 25
3
votes
1 answer

Multiple file mask for WinSCP Session.EnumerateRemoteFiles

I'm rebuilding the FTP portion of a system monitor app, has to be able to download any file that is: .csv .xlsx .xls and when I try to setup that mask, its returning 0 files, but if I pick just one of them, it works perfectly. string FileMask =…
Eman
  • 1,093
  • 2
  • 26
  • 49
3
votes
1 answer

Mount an FTP server locally

I do a lot of work with files hosted on an FTP server. Currently to edit a file on the server I have to open the server in Cyberduck, navigate with the mouse to the folder I want and then click "Edit," which opens a temporary file. Anyway, editing…
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305