Forum Replies Created

  • Pål henrik Wagner

    August 25, 2010 at 6:27 am in reply to: Worker node ftp automation

    Wow! Curl did it! Thank you guys!

    It was very fair and easy, when I just got the syntax sorted out.

    This is “Execute 3 Command” I use when the file is processed:

    curl -T $l ftp://xxxx.ftp.xxxx.no/4_stj_REISE/til_LYDETTERARBEID/ –user user:password

    where $l (that is the letter L) signifies the whole path of the processed file.

    This command will upload the Worker Node processed file to the ftp site and subfolder as stated above.

    Thank you again.

  • Pål henrik Wagner

    August 18, 2010 at 2:53 pm in reply to: Worker node ftp automation

    The funny thing now, is that I found a way that *should* work, but still doesn’t.

    If I put this command in the Worker Node

    cd /Volumes/Fish/Til/4_stj_reise/Til_lyd/TEST_output/ ; /usr/bin/ftp -u ftp://nnnn:xxxx@xxx.ftp.xxx.no/4_stj_REISE/til_LYDETTERARBEID/ $f

    I still can’t upload the processed file (the output file name is the same as the original).

    But if I out the same line (substituting $f with the file name TEST13.mov), I get a successful ftp upload.

    Is anybody else using the command ftp -u …… $l with Worker Node? Or something similiar for that sake.

    If someone has some examples of usage with automated ftp commands, I would love to see some.

    Cheers,

    Pål Henrik

  • Pål henrik Wagner

    August 17, 2010 at 8:10 pm in reply to: Worker node ftp automation

    Hi,

    thanks for the reply.

    The thing is that I believe I have mixed up source and destination in this command.

    This command works:
    /usr/bin/ftp -u ftp://nnnn:xxxx@nnnn.ftp.abc.no/4_stj_REISE/til_LYDETTERARBEID/ TEST11.mov

    where TEST11.mov is the local file, and I already am in the correct local folder within Terminal.

    If I understand you correctly, I should try this:

    /usr/bin/ftp -u ftp://nnnn:xxxx@nnnn.ftp.abc.no/4_stj_REISE/til_LYDETTERARBEID/ 4_stj_reise/Til_lyd/TEST_output/TEST11.mov

    i get the same problem as earlier:

    Connected to xxx.ftp.xxx.no.
    220 Servers identifying string
    331 Password required for xxxx
    230-Last login was: 2010-08-17 14:22:26
    230 User xxxx logged in
    Remote system type is UNIX.
    Using binary mode to transfer files.
    200 Type set to I
    250 CWD command successful
    250 CWD command successful
    local: 4_stj_reise/Til_lyd/TEST_output/TEST11.mov remote: 4_stj_reise/Til_lyd/TEST_output/TEST11.mov
    ftp: local: 4_stj_reise/Til_lyd/TEST_output/TEST11.mov: No such file or directory

    From this, I think that I’ve been mixing up source and destination folders. My intention is to upload TEST11.mov to the ftp catalogue

    /4_stj_REISE/til_LYDETTERARBEID/

    The local path of TEST11.mov is
    /Volumes/Fish/Til/4_stj_reise/Til_lyd/TEST_output/

    Not sure if I am able to explain very clearly, though…

    Pål Henrik

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy