I need to upload to the server using ftp server but noting is uploaded what is the problem?
Any one can help?
Error
mirror: Access failed: /opt/atlassian/pipelines/agent/build/dist: No such file or directory
<span><span>ls: cannot access 'build/web/': No such file or directory</span></span>
<span><span>Script</span></span>
- step:
name: Install Flutter and Set Up Environment
script:
# Flutter and Dart are already included in the Docker image
- export PATH="$PATH:/sdks/flutter/bin"
# Check Flutter and Dart versions
- flutter --version
- dart --version
# Run flutter doctor to check for any additional setup required
- flutter doctor
- step:
name: Check Flutter Installation
script:
- flutter --version
- echo "Flutter is correctly installed and available."
- step:
name: Build Flutter Web Application
script:
# Set the PATH for the current session
- export PATH="$PATH:/sdks/flutter/bin"
# Clean build directories
- flutter clean
# Install packages
- GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa" flutter pub get
# Build the Flutter web app
- flutter build web --web-renderer canvaskit --release
# Check if the build output exists
- step:
name: Check Build Output
script:
- ls -la build/web/
- step:
name: Deploy Web Application to FTP Server
script:
- echo "Uploading files to FTP server...."
- pipe: atlassian/ftp-deploy:0.7.1
variables:
USER: '********'
PASSWORD: '********'
SERVER: '**********'
REMOTE_PATH: '/apachewebserver8.2\htdocs\ibs-cab-corp'
LOCAL_PATH: 'build/web'
mirror: Access failed: /opt/atlassian/pipelines/agent/build/dist: No such file or directory
<span><span>Status: Downloaded newer image for bitbucketpipelines/ftp-deploy:0.7.1</span></span>
<span><span>INFO: Starting FTP deployment to *****/***/***/****...</span></span><span><span>mirror: Access failed: /opt/atlassian/pipelines/agent/build/build/web: No such file or directory</span></span>
<span><span>✔ Deployment finished.</span></span>
<span><span>Status: Downloaded newer image for bitbucketpipelines/ftp-deploy:0.7.1</span></span>
<span><span>INFO: Starting FTP deployment to **REMOTE_PATH***...</span></span>
mirror: Access failed: /opt/atlassian/pipelines/agent/build/build/web: No such file or directory
<span><span>✔ Deployment finished.</span></span>