I have a client trying to upload multiple files to FTP server in passive mode.
The client sends PASV command and the server responds with the relevant ip and port.
Is it possible to send multiple files on this one data connection? or the client need to send the PASV command and get a new port for each file?
is ftp data connection is only for one file?
1.6k Views Asked by Alon Rew At
1
There are 1 best solutions below
Related Questions in FTP
- FTP ls works fine, but LIST not working. vsFTP server
- How can i pass the secrets to the ngrok.yml file in the container and in the FTP container to an environment?
- ftp download for small datasets works but for more than 300KB not
- Transfer a file from a local machine to an Ubuntu virtual machine using the FTP protocol through a Java program
- ftplib error encoding. latin-1 utf-8: utf-8' codec can't decode byte 0xf1 in position 132: invalid continuation byte
- Using Xftp to connect ftpzilla server on windows, can't open the directory
- Using python to connect ftp with ftp proxy
- Can I adjust the timeout on the python twistd server via a command line option?
- How to setup cloudflare to allow github actions to complete
- FileNotFoundError when using pd.read_parquet to read file in FTP server
- FTP connect with Windows powershell after setting the firewall port and passive-mode checked
- The remote server returned an error: (425) Can't open data connection when FTPS enabled
- Access denied when connecting to Azure App Service using FTP Credentials in WinSCP
- FTP TLS session reuse in PHP
- Multi hop proxy with pycharm (or filezilla)
Related Questions in PROTOCOLS
- Python Client-Server Communication with Protocol
- Protocol 43200 after unpacking received data
- Creating a Public Typealias to Combine Multiple Protocols in One Swift Package/Target and Conforming to It in Other Targets
- Automotive: Can we design a secured PDU which is beyond 8 bytes and send it using CAN TP?
- Subtle protocol difference
- What type of communication protocol should I use for a shortlived data stream to an web application
- Firefox - Allowing about: protocol
- How to scan and message devices connected to OpenThread border router from Android app?
- v2gexi protocol Data parshing from pcap file
- "Encountering 'protocol busy' error with node-open-protocol-desoutter in Node.js when performing screwing actions
- Cannot Convert Custom ExpyTableView Type in Swift
- Swift: Singleton class "extends" from protocol
- Use a protocol rather than a struct as an (optional array) extension?
- Is there a way to encapsulate certain properties in a Swift protocol so they aren't visible to users of the protocol?
- Understanding “Finding the Dynamic Type in a Generic Context”
Related Questions in FILE-TRANSFER
- How to sucessfully send a .bin file via serial communication to another device using QT creator?
- Optimizing UDP Transmission for High-Latency Networks in Python
- How can I run this ftp_get script?
- How to securely access local data in remote SLURM job w/o exposing sensitive information?
- ESP32 file upload via POST request to REST API
- Problem when selecting a file from the iOS gallery
- Vagrant transfer file from Guest VM to another Guest VM
- Sending updated files across a network using Python Sockets
- How to send Media files via Telegram Bot to a local server
- File transfer (File.Move() ) unexpected behavior
- PHP file transfer an Excel xls file from the server to a local PC doesn't work
- rz file transfer is asking several times to upload file into Linux server from Mac
- Password encryption needed for FTP script file transfer
- Multithreaded file transfer via socket in java
- How can I send files remotely between computers using Python sockets?
Related Questions in FTP-CLIENT
- "Unable to resolve host no Address associated with hostname" While trying to connect ftp host through FtpClient()
- FTP connect with Windows powershell after setting the firewall port and passive-mode checked
- ESP32_FTPClient Upload image from SD-CARD
- Twincat 3 Simultaneous FTP Connections
- Need to know FTP files transferred
- FTPClient (Apache Commons)
- Not able to connect to ftp server using filezilla through ngrok
- Does FTPClilent commons-net:3.9.0 not supported on Android 7 and below?
- Changes Not Taking Effect on Live Website
- Problems with connecting with it.sauronsoftware.ftp4j.FTPClient to SFTP
- ClickOnce Application keeps Failing
- Mock FtpClient for Unit Test - C#
- Image malformed downloading from FTP
- Specify external IP address for active mode in Python ftplib
- Error 425 occuring every time I use PUT or LIST command on Windows 10
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Since the only indicator of the end of file is the close of the connection and because you cannot transfer any more data after the connection has closed, you will not be able to transfer more than one file using the same data connection.
But, maybe you tried to ask a different question, that is if is possible to have multiple data transfers (and thus multiple data connections) after a single PASV command? I can see nothing in RFC959 which directly would prevent this and reusing the same target port on the server. And because access would be done from different source ports on the client this should also not give problems with TCP connection states. But, in practice you will probably see problems because if you try to use this from the client side, because lots of servers create the listener only for a single data connection. So you better precede each data transfer with a new PASV command, like existing clients do.