3 deleted 114 characters in body
source | link

can anyone help here - this is probably very simple but I am stumped.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT
ascii
user $USER $PASSWD
prompt
lcd /home/pi/InfraSound/Data/2018
cd StarFishPrime/projects/infrasound/Data
mput *.mseed
cd StarFishPrime/projects/infrasound/Plots
lcd /home/pi/InfraSound/Plots
mput *.svg
bye
EOT

Any thoughts gratefully received

Ian

can anyone help here - this is probably very simple but I am stumped.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT
ascii
user $USER $PASSWD
prompt
lcd /home/pi/InfraSound/Data/2018
cd StarFishPrime/projects/infrasound/Data
mput *.mseed
cd StarFishPrime/projects/infrasound/Plots
lcd /home/pi/InfraSound/Plots
mput *.svg
bye
EOT

Any thoughts gratefully received

Ian

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT
ascii
user $USER $PASSWD
prompt
lcd /home/pi/InfraSound/Data/2018
cd StarFishPrime/projects/infrasound/Data
mput *.mseed
cd StarFishPrime/projects/infrasound/Plots
lcd /home/pi/InfraSound/Plots
mput *.svg
bye
EOT
2 Markup
source | link

can anyone help here - this is probably very simple but I am stumptedstumped.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT

ascii

user $USER $PASSWD

prompt

lcd /home/pi/InfraSound/Data/2018

cd StarFishPrime/projects/infrasound/Data

mput *.mseed

cd StarFishPrime/projects/infrasound/Plots

lcd /home/pi/InfraSound/Plots

mput *.svg

bye

EOT

ftp -p -n -v $HOST << EOT
ascii
user $USER $PASSWD
prompt
lcd /home/pi/InfraSound/Data/2018
cd StarFishPrime/projects/infrasound/Data
mput *.mseed
cd StarFishPrime/projects/infrasound/Plots
lcd /home/pi/InfraSound/Plots
mput *.svg
bye
EOT

Any thoughts gratefully received

Ian

can anyone help here - this is probably very simple but I am stumpted.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT

ascii

user $USER $PASSWD

prompt

lcd /home/pi/InfraSound/Data/2018

cd StarFishPrime/projects/infrasound/Data

mput *.mseed

cd StarFishPrime/projects/infrasound/Plots

lcd /home/pi/InfraSound/Plots

mput *.svg

bye

EOT

Any thoughts gratefully received

Ian

can anyone help here - this is probably very simple but I am stumped.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT
ascii
user $USER $PASSWD
prompt
lcd /home/pi/InfraSound/Data/2018
cd StarFishPrime/projects/infrasound/Data
mput *.mseed
cd StarFishPrime/projects/infrasound/Plots
lcd /home/pi/InfraSound/Plots
mput *.svg
bye
EOT

Any thoughts gratefully received

Ian

1
source | link

Curious (possibly dim) question on ftp

can anyone help here - this is probably very simple but I am stumpted.

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the files. However the files in the second local are transferred to the first remote i.e. all files end up in the first named remote directory ('Data' rather than 'Plots').

ftp -p -n -v $HOST << EOT

ascii

user $USER $PASSWD

prompt

lcd /home/pi/InfraSound/Data/2018

cd StarFishPrime/projects/infrasound/Data

mput *.mseed

cd StarFishPrime/projects/infrasound/Plots

lcd /home/pi/InfraSound/Plots

mput *.svg

bye

EOT

Any thoughts gratefully received

Ian