Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6025

How to resolve abnormal file paths during FTP uploads

$
0
0

When an FTP user enters a file path, how does the FTP server respond? I have an FTP user, and when uploading files to a server I've set up locally, the paths are all normal. However, on another server, the uploaded file paths get nested. The absolute path of the previous uploaded file becomes the starting path for the next uploaded file。

I'm using the same code to set up an FTP server on the same machine, and uploads work fine. However, when using this code to upload to an FTP server set up on a different machine, the paths become abnormal.

my server image:

enter image description herethis is right path

other server image:enter image description herethis is wrong path


Viewing all articles
Browse latest Browse all 6025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>